Replace localhost with 127.0.0.1 to solve GUI related DNS error when not connected to a network

This commit is contained in:
Emil Axelsson
2019-06-04 13:25:57 +02:00
parent 9b1c3efeb2
commit 804361ce22
2 changed files with 2 additions and 2 deletions

View File

@@ -165,7 +165,7 @@ void CefWebGuiModule::internalInitialize(const ghoul::Dictionary& configuration)
_url = configuration.value<std::string>(GuiUrlInfo.identifier);
} else {
WebGuiModule* webGuiModule = global::moduleEngine.module<WebGuiModule>();
_url = "http://localhost:" +
_url = "http://127.0.0.1:" +
std::to_string(webGuiModule->port()) + "/#/onscreen";
}