From ed5f1f04ad38a0df34f7de0253ca7a7b5a61621e Mon Sep 17 00:00:00 2001 From: "Scott E. Graves" Date: Thu, 27 Feb 2025 14:48:41 -0600 Subject: [PATCH] change base href --- config.sh | 2 ++ repertory/repertory/include/cli/ui.hpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/config.sh b/config.sh index a2290464..614fc73f 100755 --- a/config.sh +++ b/config.sh @@ -21,6 +21,8 @@ PROJECT_PUBLIC_KEY=${DEVELOPER_PUBLIC_KEY} PROJECT_ENABLE_WIN32_LONG_PATH_NAMES=OFF +PROJECT_FLUTTER_BASE_HREF=/ui/ + PROJECT_ENABLE_BACKWARD_CPP=OFF PROJECT_ENABLE_BOOST=ON PROJECT_ENABLE_CPP_HTTPLIB=ON diff --git a/repertory/repertory/include/cli/ui.hpp b/repertory/repertory/include/cli/ui.hpp index 7f07c1d1..015a86d8 100644 --- a/repertory/repertory/include/cli/ui.hpp +++ b/repertory/repertory/include/cli/ui.hpp @@ -47,7 +47,7 @@ ui(std::vector args, const std::string & /*data_directory*/, } httplib::Server server; - if (not server.set_mount_point("/", "./web")) { + if (not server.set_mount_point("/ui", "./web")) { return exit_code::ui_mount_failed; }