From b6d37044390dc563eb9f44c7befbbbaad101a5fa Mon Sep 17 00:00:00 2001 From: Emma Broman Date: Wed, 18 Jun 2025 17:14:46 +0200 Subject: [PATCH] Update GuiHash and Backend hash to fix issues with routing And fix an outdated comment --- data/assets/util/static_server.asset | 2 +- data/assets/util/webgui.asset | 2 +- modules/cefwebgui/cefwebguimodule.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/data/assets/util/static_server.asset b/data/assets/util/static_server.asset index 0bf75d22d3..23b02f702f 100644 --- a/data/assets/util/static_server.asset +++ b/data/assets/util/static_server.asset @@ -1,4 +1,4 @@ -local BackendHash = "9539ad213cebac4f06bcbe4c283abff321f02d9a" +local BackendHash = "0f2543a69aa6c1ecd15892c43c5196d4fdc55b8f" local backend = asset.resource({ Identifier = "WebGuiBackend", diff --git a/data/assets/util/webgui.asset b/data/assets/util/webgui.asset index 487b72b155..e8458e79e3 100644 --- a/data/assets/util/webgui.asset +++ b/data/assets/util/webgui.asset @@ -4,7 +4,7 @@ local guiCustomization = asset.require("customization/gui") -- Select which commit hashes to use for the UI frontend -local frontendHash = "9c4fc139ca7949574ca3573a8c293a1b797d43d6" +local frontendHash = "ef3c00211844095bb558cae5a37e91f1204edab5" -- The name of the file to download from the server local frontendFile = "frontend.zip" diff --git a/modules/cefwebgui/cefwebguimodule.cpp b/modules/cefwebgui/cefwebguimodule.cpp index be655256ea..9548a886f7 100644 --- a/modules/cefwebgui/cefwebguimodule.cpp +++ b/modules/cefwebgui/cefwebguimodule.cpp @@ -204,7 +204,7 @@ void CefWebGuiModule::internalInitialize(const ghoul::Dictionary& configuration) // We need this to make sure that the browser is reloaded // once the endpoint comes online, on OpenSpace startup. - // TODO: See if the hardcoded endpoint `frontend` below can be removed. + // TODO: See if the hardcoded endpoint `gui` below can be removed. // Possible fix: Reload browser if cefwebgui is routed to localhost // and the same endpoint that just came online. WebGuiModule* webGuiModule = global::moduleEngine->module();