Add configurable timezone support with environment variables

This commit is contained in:
serversdwn
2026-01-12 16:31:33 +00:00
parent 6b363b0788
commit 2cb96a7a1c
3 changed files with 207 additions and 5 deletions

18
.env.example Normal file
View File

@@ -0,0 +1,18 @@
# SLMM Configuration
# Copy this file to .env and customize as needed
# Timezone Configuration
# Set the timezone offset from UTC (in hours)
# Examples:
# -5 = EST (Eastern Standard Time)
# -4 = EDT (Eastern Daylight Time)
# 0 = UTC
# +1 = CET (Central European Time)
# -8 = PST (Pacific Standard Time)
TIMEZONE_OFFSET=-5
# Optional: Timezone name for logging (cosmetic only)
TIMEZONE_NAME=EST
# CORS Configuration (comma-separated list of allowed origins)
CORS_ORIGINS=*