updated system paths and arm-uclibc toolchain paths
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
2025-02-26 20:56:08 +07:00
parent e6b91cefd3
commit eb6bf701c4
3 changed files with 7 additions and 7 deletions
+3 -3
View File
@@ -17,11 +17,11 @@ OpenRouter::OpenRouter()
this->srv.Post("/api/settings/restore", api::settings::restore);
this->srv.Post("/api/settings/restore/defaults", api::settings::restore_defaults);
this->srv.Post("/api/reboot", api::system::reboot);
this->srv.Post("/api/system/reboot", api::system::reboot);
this->srv.Get("/api/syslog", api::system::get_syslog);
this->srv.Get("/api/system/syslog", api::system::get_syslog);
#ifdef __linux__
this->srv.Get("/api/uptime", api::system::get_uptime);
this->srv.Get("/api/system/uptime", api::system::get_uptime);
#endif // __linux__
this->srv.Options("/(.*)", api::security::set_cors_headers);
+3 -3
View File
@@ -14,7 +14,7 @@ const routes = {
settings_restore: () => [host, prefix, 'settings', 'restore'].join('/'),
restore_defaults: () => [host, prefix, 'settings', 'restore', 'defaults'].join('/'),
reboot: () => [host, prefix, 'reboot'].join('/'),
syslog: () => [host, prefix, 'syslog'].join('/'),
uptime: () => [host, prefix, 'uptime'].join('/'),
reboot: () => [host, prefix, 'system', 'reboot'].join('/'),
syslog: () => [host, prefix, 'system', 'syslog'].join('/'),
uptime: () => [host, prefix, 'system', 'uptime'].join('/'),
}
+1 -1
View File
@@ -1 +1 @@
set(CMAKE_CXX_COMPILER /home/tola/Documents/linux/orangepipc/buildroot-2024.08.2/output/host/bin/arm-buildroot-linux-uclibcgnueabihf-g++)
set(CMAKE_CXX_COMPILER arm-buildroot-linux-uclibcgnueabihf-g++)