Files
kittyBE/.env.default
sherl 6ad9c6fd61
All checks were successful
Update changelog / changelog (push) Successful in 24s
feat: add CORS support with user-sourced trusted origins from .env
2025-12-30 17:41:35 +01:00

18 lines
907 B
Plaintext

# Server config
ACCESS_TOKEN_PRIVATE_KEY=CHANGE_ME_TO_SOMETHING_RANDOM # Used to generate user tokens. Make sure this is pretty random.
TRUSTED_ORIGINS=http://localhost:6568 # Comma separated list of trusted origins. Make sure to include your PUBLIC_URL here.
# TypeORM specific
# Please make sure these match with docker-compose.yml, or your own postgres server.
PG_USER=kitty
PG_PASS=CHANGEME
PG_HOST=127.0.0.1
PG_PORT=5432
PG_DB=kittyurl
# Site info
PUBLIC_URL=https://example.com # Publicly accessible website root, used for rewrites. Note there is no trailing slash in the URL.
IS_PROXIED=false # Set to `true` if behind a reverse proxy, like apache/nginx.
USE_SUBDOMAINS=true # Whether to use subdomains for URL generation.
DEBUG=false # Set to `false` to disable some features not meant to be seen publicly (like swagger documentation).