mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-02-22 04:49:12 -06:00
Replace localhost with 127.0.0.1 to solve GUI related DNS error when not connected to a network
This commit is contained in:
@@ -2,7 +2,7 @@ local guiCustomization = asset.require('customization/gui')
|
||||
|
||||
-- Select which commit hashes to use for the frontend and backend
|
||||
local frontendHash = "f6c17563e5fc3b3e16d18b50e8932f258b34a3bc"
|
||||
local backendHash = "408142f26d3fa3d041399fcf58645874589d5b64"
|
||||
local backendHash = "84737f9785f12efbb12d2de9d511154c6215fe9c"
|
||||
|
||||
local dataProvider = "data.openspaceproject.com/files/webgui"
|
||||
|
||||
|
||||
@@ -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";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user