Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat - add cors config to allow outside domains (specfically website)… #48

Merged
merged 1 commit into from
Dec 5, 2024

Conversation

setbern
Copy link
Contributor

@setbern setbern commented Dec 5, 2024

Allow outside domains to hit the backend without having to go through a server.

This is for wallets and packages to be able to hit our backend directly

Added a basic cors config and added the cors check to our API routes

@setbern setbern requested review from hozzjss and aldur December 5, 2024 15:21
package.json Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
src/util/cors.ts Outdated Show resolved Hide resolved
@hozzjss hozzjss merged commit a19bb7f into main Dec 5, 2024
1 check passed
@hozzjss hozzjss deleted the fix-cors branch December 5, 2024 18:18
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.

2 participants