Configure API requests for reverse proxy setup

- Updated all API endpoints to use /rechner/api/ path
- Removed CSP localhost restriction for reverse proxy compatibility
- Added nginx proxy configuration for API requests
- Should now work through HTTPS reverse proxy
This commit is contained in:
root
2025-09-19 13:46:04 +02:00
parent 4803ae2d18
commit f90f6ed618
2 changed files with 6 additions and 6 deletions

View File

@@ -8,7 +8,7 @@
script-src 'self' 'unsafe-inline' 'unsafe-eval' https://cdn.jsdelivr.net;
style-src 'self' 'unsafe-inline';
img-src 'self' data:;
connect-src 'self' http://localhost:3001;
connect-src 'self';
">
<title>Rechner</title>