summaryrefslogtreecommitdiff
path: root/server/src/net/usebox/gemini
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2021-02-28 13:53:40 +0000
committerJuan J. Martinez <jjm@usebox.net>2021-07-22 19:49:51 +0100
commit5777f650c69609fecd3e7696432bad256c778856 (patch)
treebfbbe941c0bd0c4d0d4a528cd2e87b73213dcb6e /server/src/net/usebox/gemini
parentfc60ea8c4d52c5015edce1e4c6086d80e7a7d830 (diff)
downloadspacebeans-5777f650c69609fecd3e7696432bad256c778856.tar.gz
spacebeans-5777f650c69609fecd3e7696432bad256c778856.zip
Directories conf is optional
Diffstat (limited to 'server/src/net/usebox/gemini')
-rw-r--r--server/src/net/usebox/gemini/server/ServiceConf.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/net/usebox/gemini/server/ServiceConf.scala b/server/src/net/usebox/gemini/server/ServiceConf.scala
index f0751d2..e90d6a8 100644
--- a/server/src/net/usebox/gemini/server/ServiceConf.scala
+++ b/server/src/net/usebox/gemini/server/ServiceConf.scala
@@ -20,7 +20,7 @@ case class VirtualHost(
indexFile: String = "index.gmi",
directoryListing: Boolean = true,
geminiParams: Option[String] = None,
- directories: List[Directory]
+ directories: List[Directory] = Nil
)
object VirtualHost {