updated for work with new auth_service on c

This commit is contained in:
wt committed 2025-08-28 18:03:44 +07:00
1 parent aacaab0bc4
commit 1b9344fb0d
4 files changed
+97 -97

No files matched your search

+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: () => ["http://localhost:8222", prefix, "token"].join("/"),
user: () => ["http://localhost:8222", prefix, "users", "user"].join("/"),
wifi_password_set: () =>
[host, prefix, "settings", "wifi", "password", "set"].join("/"),