From fd706324c5a1cba10baf38149cbb3d261c507aa2 Mon Sep 17 00:00:00 2001 From: Lorenz Stechauner Date: Thu, 31 May 2018 21:19:57 +0200 Subject: [PATCH] Update --- src/necronda-server.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/necronda-server.cpp b/src/necronda-server.cpp index c03b800..5006180 100644 --- a/src/necronda-server.cpp +++ b/src/necronda-server.cpp @@ -220,10 +220,10 @@ string read_line(FILE* file) { #include "network/http/HttpConnection.cpp" string getWebRoot(string host) { - string root = webroot + host; - if (host == "www.necronda.net:4443") { + if (host == "www.necronda.net") { host = "www.necronda.net-new"; } + string root = webroot + host; if (fileExists(root)) { return root; } else {