Files
escaperoom-backend/.env.example
T
Tuomas Puro a7aa3fe26e feat: initialize backend with Express and CORS for password check API
- Add package.json with dependencies for express, cors, and dotenv
- Create server.js to handle password checking and health check endpoints
- Implement CORS with configurable allowed origins
- Ensure PASSWORD environment variable is set before starting the server
2026-06-04 11:22:33 +03:00

9 lines
275 B
Bash
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Kopioi tämä tiedostoksi .env ja täytä arvot
# Pelin salasana – älä commitoi oikeaa arvoa!
PASSWORD=TÄHÄN_OIKEA_SALASANA
# Sallitut frontend-osoitteet pilkulla erotettuna
# Aseta tähän se domain, jolta frontend ladataan
ALLOWED_ORIGINS=https://sinun-domain.fi