Files
game_logger/.env.example

13 lines
556 B
Plaintext

# 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 '*'
# Note well: games played from itch in a new window actually send all requests from https://html-classic.itch.zone (the game is hosted in an iframe)
HTTP_POST_ALLOWED_ORIGINS=https://your.domain.com
# Database connection settings
DATABASE_NAME=game_logger
DATABASE_HOST=localhost
DATABASE_USER=game_logger
DATABASE_PASSWORD=game_logger
DATABASE_PORT=3306
DATABASE_CONNECTIONLIMIT=10