Add HTTP security headers and CORS defaults

This commit is contained in:
Tor Matz Andrén
2026-05-14 16:38:42 +02:00
parent 41f5a80ffb
commit f9e4cf5d07
6 changed files with 49 additions and 2 deletions
+6
View File
@@ -17,3 +17,9 @@ YT_DOWNLOADS_PER_MINUTE=3
# Optional local hardening. Set AUTH_ENABLED=true and choose a strong token.
AUTH_ENABLED=false
SPOOTY_AUTH_TOKEN=
# Optional frontend origin restriction
CORS_ORIGIN=http://localhost:4200
NODE_ENV=production