Update
This commit is contained in:
@ -220,10 +220,10 @@ string read_line(FILE* file) {
|
|||||||
#include "network/http/HttpConnection.cpp"
|
#include "network/http/HttpConnection.cpp"
|
||||||
|
|
||||||
string getWebRoot(string host) {
|
string getWebRoot(string host) {
|
||||||
string root = webroot + host;
|
if (host == "www.necronda.net") {
|
||||||
if (host == "www.necronda.net:4443") {
|
|
||||||
host = "www.necronda.net-new";
|
host = "www.necronda.net-new";
|
||||||
}
|
}
|
||||||
|
string root = webroot + host;
|
||||||
if (fileExists(root)) {
|
if (fileExists(root)) {
|
||||||
return root;
|
return root;
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user