We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ed7c8a5 commit b6cb907Copy full SHA for b6cb907
1 file changed
Editor/Src/WebUIServer.cpp
@@ -21,6 +21,9 @@ namespace Editor {
21
serverThread = std::make_unique<Common::NamedThread>("WebUIServerThread", [this]() -> void {
22
server = Common::MakeUnique<httplib::Server>();
23
server->set_mount_point("/", "./Web");
24
+ server->Get("/(.+)", [](const httplib::Request&, httplib::Response& res) {
25
+ res.set_file_content("./Web/index.html");
26
+ });
27
server->listen("localhost", caWebUIPort.GetValue());
28
});
29
}
0 commit comments