Skip to content

Feat/add cors environment variables#461

Merged
RUKAYAT-CODER merged 2 commits into
EarnQuestOne:mainfrom
MerlinTheWhiz:feat/add-cors-environment-variables
Apr 29, 2026
Merged

Feat/add cors environment variables#461
RUKAYAT-CODER merged 2 commits into
EarnQuestOne:mainfrom
MerlinTheWhiz:feat/add-cors-environment-variables

Conversation

@MerlinTheWhiz
Copy link
Copy Markdown
Contributor

Closes #372

Changes made:

  • .env.example: Uncommented CORS_ORIGINS with default value http://localhost:3000,http://localhost:3001
  • cors.config.ts: Removed hardcoded fallback origins, now uses empty array if env var not set
  • security.config.ts: Fixed variable name from CORS_ORIGIN to CORS_ORIGINS for consistency
  • websocket.gateway.ts: Removed hardcoded CORS fallback to match other config files

@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented Apr 29, 2026

@MerlinTheWhiz Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@RUKAYAT-CODER RUKAYAT-CODER merged commit 445dfb3 into EarnQuestOne:main Apr 29, 2026
0 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CORS Environment Variables

2 participants