feat: default web API calls to same origin

This commit is contained in:
2026-05-01 08:35:06 +09:00
parent 7cfd50532d
commit 8656f237d4
7 changed files with 59 additions and 9 deletions

View File

@@ -1,6 +1,7 @@
JWT_SECRET=***
ENCRYPTION_SECRET=change-this-to-at-least-32-characters
JWT_SECRET=replace-me
ENCRYPTION_SECRET=replace-with-at-least-32-characters
DATABASE_URL=file:./dev.db
CODEXDASH_FRONTEND_ORIGIN=http://localhost:5173
CODEX_OAUTH_REDIRECT_URI=http://localhost:1455/auth/callback
# Optional: set this in local dev when the Vite app runs on a different origin than the API.
VITE_API_BASE_URL=http://localhost:3001