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; }