added web and fix some problems
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Make (push) Successful in 9s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-CMake (push) Successful in 14s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Meson (push) Failing after 8s

This commit is contained in:
wt committed 2025-08-27 17:00:57 +07:00
1 parent ccfc8b535e
commit 155c259ea9
29 files changed
+946 -119

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
const host = window.location.origin
const prefix = 'api'
const routes = {
login: () => [host, prefix, 'token'].join('/'),
user: () => [host, prefix, 'users', 'user'].join('/'),
all_users: () => [host, prefix, 'users'].join('/'),
access: () => [host, prefix, 'token', 'verify'].join('/'),
adduser: () => [host, prefix, 'users', 'add'].join('/'),
deluser: () => [host, prefix, 'users'].join('/'),
change_password_url: () => [host, prefix, 'users', 'password'].join('/'),
change_user: () => [host, prefix, 'users'].join('/')
}