# --- Application Configuration --- # --- VAPID Keys (REQUIRED for Web Push) --- # Generate these once using npx web-push generate-vapid-keys (or other tools) # Keep the private key SECRET! VAPID_PUBLIC_KEY= VAPID_PRIVATE_KEY= # Subject claim for VAPID. Use a 'mailto:' URI or an 'https:' URL identifying your application. # Example: mailto:admin@yourdomain.com or https://yourdomain.com/contact VAPID_SUBJECT=mailto:admin@virtonline.eu # Flic Button Configuration FLIC_BUTTON1_SERIAL=your_button1_serial FLIC_BUTTON2_SERIAL=your_button2_serial FLIC_BUTTON3_SERIAL=your_button3_serial # Subscription Storage SUBSCRIPTIONS_FILE=subscriptions.json # CORS ALLOWED_ORIGINS=https://game-timer.virtonline.eu ALLOWED_METHODS=POST,OPTIONS,GET ALLOWED_HEADERS=Content-Type,Authorization # Logging Configuration LOG_LEVEL=INFO # --- Security (Optional) --- # If you want to add a simple security layer between Flic and this app. # If set, configure Flic's HTTP request to include an "Authorization: Bearer YOUR_SECRET_VALUE" header. # use e.g.: openssl rand -hex 32 FLIC_SECRET=