fix web paths
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Make (push) Successful in 18m44s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-CMake (push) Successful in 7m17s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Meson (push) Successful in 8m34s

This commit is contained in:
wt
2025-01-08 01:34:08 +07:00
parent 3c77672935
commit 0a30de6d2f
+2 -2
View File
@@ -2,8 +2,8 @@ const host = window.location.origin
const prefix = 'api'
const routes = {
login: () => ["http://localhost:43243", prefix, 'token'].join('/'),
user: () => ["http://localhost:43243", prefix, 'users', 'user'].join('/'),
login: () => [host, prefix, 'token'].join('/'),
user: () => [host, prefix, 'users', 'user'].join('/'),
telnet_status: () => [host, prefix, 'settings', 'telnet', 'get'].join('/'),
telnet_status_set: () => [host, prefix, 'settings', 'telnet', 'set'].join('/'),