change base href
This commit is contained in:
parent
863e0b2165
commit
ed5f1f04ad
@ -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
|
||||
|
@ -47,7 +47,7 @@ ui(std::vector<const char *> 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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user