From 5777f650c69609fecd3e7696432bad256c778856 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Sun, 28 Feb 2021 13:53:40 +0000 Subject: Directories conf is optional --- server/src/net/usebox/gemini/server/ServiceConf.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/src') 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 { -- cgit v1.2.3