mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-27 14:37:43 +02:00
fix(presi): resolve CORS issues and add strictPort to all web apps
- Add port 5180 to CORS_ORIGINS in .env.development - Add port 5178 to Presi backend CORS config - Fix Presi API client to use /api prefix - Add strictPort: true to all web app vite configs to prevent port switching: - manacore: 5173 - chat: 5174 - picture: 5175 - manadeck: 5176 - zitare: 5177 - presi: 5178 - voxel-lava: 5180 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
4eed41499a
commit
655da23d14
10 changed files with 27 additions and 4 deletions
|
|
@ -38,7 +38,7 @@ JWT_ACCESS_TOKEN_EXPIRY=15m
|
|||
JWT_REFRESH_TOKEN_EXPIRY=7d
|
||||
JWT_ISSUER=manacore
|
||||
JWT_AUDIENCE=manacore
|
||||
CORS_ORIGINS=http://localhost:3000,http://localhost:3002,http://localhost:5173,http://localhost:5174,http://localhost:5175,http://localhost:5176,http://localhost:5177,http://localhost:5178,http://localhost:5179,http://localhost:8081
|
||||
CORS_ORIGINS=http://localhost:3000,http://localhost:3002,http://localhost:5173,http://localhost:5174,http://localhost:5175,http://localhost:5176,http://localhost:5177,http://localhost:5178,http://localhost:5179,http://localhost:5180,http://localhost:8081
|
||||
CREDITS_SIGNUP_BONUS=150
|
||||
CREDITS_DAILY_FREE=5
|
||||
RATE_LIMIT_TTL=60
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue