fix: cors settings for POST

This commit is contained in:
mattia
2025-01-05 13:30:36 +01:00
parent 93ed3a695e
commit 5ff6a38554
3 changed files with 13 additions and 8 deletions

View File

@@ -1,5 +1,9 @@
HTTP_PORT=9283
# Host and port this server will listen on
HTTP_HOST=localhost
HTTP_PORT=9283
# Allowed origins for POST requests; needed for web games; if empty or missing, defaults to '*'
HTTP_POST_ALLOWED_ORIGINS=https://your.domain.com
# Database connection settings
DATABASE_NAME=game_logger
DATABASE_HOST=localhost
DATABASE_USER=game_logger