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
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:
1 parent
6e85d8e922
commit
8e04c872d4
2 files changed
+11
-11
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user