From dfc3f4cd8791a2ab3ec7e9a6f340ef1452f02b21 Mon Sep 17 00:00:00 2001 From: sherl Date: Wed, 21 Jan 2026 00:57:39 +0100 Subject: [PATCH] fix: add a sane default for CORS trusted origins (127.0.0.1) --- .env.default | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.env.default b/.env.default index 96b7eb6..ba8e6f2 100644 --- a/.env.default +++ b/.env.default @@ -1,6 +1,6 @@ # 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. +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,http://127.0.0.1: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.