From 218fe2c9a449d5ea46fe328bb2ca9b2b09277784 Mon Sep 17 00:00:00 2001 From: TolaMironcenko Date: Mon, 24 Jun 2024 16:44:22 +0700 Subject: [PATCH] auth/admin --- src/auth_service.cpp | 6 +++--- src/web/index.html | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/auth_service.cpp b/src/auth_service.cpp index effb9f8..dc8a61c 100644 --- a/src/auth_service.cpp +++ b/src/auth_service.cpp @@ -23,9 +23,9 @@ int main() { srv.Options("/(.*)", set_cors_headers); - srv.set_mount_point("/admin", "../src/web"); - srv.set_mount_point("/js", "../src/web/js"); - srv.set_mount_point("/css", "../src/web/css"); + srv.set_mount_point("/auth/admin", "../src/web"); + srv.set_mount_point("/auth/admin/js", "../src/web/js"); + srv.set_mount_point("/auth/admin/css", "../src/web/css"); std::cout << GREEN << "Starting" << RESET << " server on [ " << YELLOW << "localhost" << RESET << ":" << CYAN << "43243" << RESET << " ]" << std::endl; diff --git a/src/web/index.html b/src/web/index.html index f7bc63d..ef7205f 100644 --- a/src/web/index.html +++ b/src/web/index.html @@ -3,11 +3,11 @@ - - - - - + + + + + admin