added static files paths in config file
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Make (push) Has been cancelled
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-CMake (push) Has been cancelled
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Meson (push) Has been cancelled

This commit is contained in:
wt committed 2025-02-11 09:33:56 +07:00
1 parent 6e85d8e922
commit 8e04c872d4
2 files changed
+11 -11

No files matched your search

+3 -3
View File
@@ -51,9 +51,9 @@ OpenRouter::OpenRouter()
this->srv.Options("/(.*)", api::security::set_cors_headers);
this->srv.set_mount_point("/", "../src/web");
this->srv.set_mount_point("/js", "../src/web/js");
this->srv.set_mount_point("/css", "../src/web/css");
this->srv.set_mount_point("/", config::config.getConfig()["static"]["root"]);
this->srv.set_mount_point("/js", config::config.getConfig()["static"]["js"]);
this->srv.set_mount_point("/css", config::config.getConfig()["static"]["css"]);
}
OpenRouter::~OpenRouter() = default;