aboutsummaryrefslogtreecommitdiff
path: root/scripts/check-with-fallback-env.sh
diff options
context:
space:
mode:
authorFuwn <[email protected]>2026-03-22 03:42:05 +0000
committerFuwn <[email protected]>2026-03-22 03:42:05 +0000
commit51949f1119cc58c7cb72e3fb8b23656ef1efa99c (patch)
tree9cbfd213a82abbe37ce10a6c2f7a557cb68e78e2 /scripts/check-with-fallback-env.sh
parentchore: remove stale websocket backup (diff)
downloaddue.moe-51949f1119cc58c7cb72e3fb8b23656ef1efa99c.tar.xz
due.moe-51949f1119cc58c7cb72e3fb8b23656ef1efa99c.zip
refactor: extract app origin config
Diffstat (limited to 'scripts/check-with-fallback-env.sh')
-rw-r--r--scripts/check-with-fallback-env.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/check-with-fallback-env.sh b/scripts/check-with-fallback-env.sh
index 5efb64d4..a3c5d7c0 100644
--- a/scripts/check-with-fallback-env.sh
+++ b/scripts/check-with-fallback-env.sh
@@ -4,6 +4,7 @@ set -euo pipefail
export SUPABASE_URL="${SUPABASE_URL:-http://localhost:54321}"
export SUPABASE_ANON_KEY="${SUPABASE_ANON_KEY:-dummy}"
+export PUBLIC_APP_ORIGIN="${PUBLIC_APP_ORIGIN:-http://localhost:5173}"
export PUBLIC_ANILIST_CLIENT_ID="${PUBLIC_ANILIST_CLIENT_ID:-dummy}"
export ANILIST_CLIENT_SECRET="${ANILIST_CLIENT_SECRET:-dummy}"
export PUBLIC_ANILIST_REDIRECT_URI="${PUBLIC_ANILIST_REDIRECT_URI:-http://localhost:5173/api/oauth/callback}"