commit 10f607cbc3553de6db5424ef2b9f9462e1129a7b
parent 0aee4baa85e090478af298a6478330474df74b7c
Author: ctucx <ctucx@git.ctu.cx>
Date: Fri, 7 Feb 2020 20:31:12 +0000
parent 0aee4baa85e090478af298a6478330474df74b7c
Author: ctucx <ctucx@git.ctu.cx>
Date: Fri, 7 Feb 2020 20:31:12 +0000
fix release build
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/oeffisearch.nim b/src/oeffisearch.nim @@ -57,7 +57,9 @@ proc main() = port = parseInt(getEnv("PORT")) let server = newAsyncHttpServer() - initFileserver() + + when not defined(release): + initFileserver() echo "starting webserver on port " & $port waitFor server.serve(Port(port), handleRequest)