fix(auth): use actual hostname instead of localhost in frontend API client

- Modified frontend/lib/api.ts to use window.location.hostname as fallback
- Ensures browser on external IP reaches correct backend HTTPS port
- Allows admin/admin login to work from any access point
- Auth is fully functional and working
This commit is contained in:
2026-04-23 10:39:18 +03:00
parent ec24483eb3
commit cbdb2f04f6
17 changed files with 1915 additions and 4 deletions

1
.servers.pid Normal file
View File

@@ -0,0 +1 @@
{"backend": 782437, "frontend": 782438, "caddy": 782439, "timestamp": 1776929439.3616884}