This commit is contained in:
2018-05-31 21:19:57 +02:00
parent 439f346694
commit fd706324c5

View File

@ -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 {