Merge pull request 'fix web paths' (#8) from fix-paths into main
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Make (push) Successful in 18m48s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-CMake (push) Successful in 7m19s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Meson (push) Successful in 8m34s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Make (push) Successful in 18m48s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-CMake (push) Successful in 7m19s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Meson (push) Successful in 8m34s
Reviewed-on: https://gitea.home.com:3000/TolaMironcenko/openrouter/pulls/8
This commit was merged in pull request #8.
This commit is contained in:
commit
42b6f83528
1 file changed
+2
-2
@@ -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('/'),
|
||||
|
||||
Reference in new issue
Block a user