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

πŸ”§ Adds Rewrites to prevent CORS #292

Merged
merged 7 commits into from Jan 27, 2022
Merged

πŸ”§ Adds Rewrites to prevent CORS #292

merged 7 commits into from Jan 27, 2022

Conversation

PhearZero
Copy link
Contributor

β„Ή Overview

Adds rewrites to next.config.js to bring the API to the same domain as the Frontend. This prevents CORs from triggering preflight requests

πŸ” Acceptance:

  • yarn test passes
  • Uses Unicode conventional commits gitmoji

@PhearZero PhearZero added enhancement New feature or request Mainnet Blocking labels Jan 27, 2022
@PhearZero PhearZero added this to In progress in Algodex-UI - V1.X.X via automation Jan 27, 2022
@vercel
Copy link

vercel bot commented Jan 27, 2022

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

πŸ” Inspect: https://vercel.com/algodex/algodex-react/7GdxedoCoHAYm1pbbFDwdrxqFoi5
βœ… Preview: https://algodex-react-git-fix-cors-algodex.vercel.app

Copy link
Contributor

@atrefonas atrefonas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks awesome!!

@PhearZero PhearZero merged commit d074394 into development Jan 27, 2022
Algodex-UI - V1.X.X automation moved this from In progress to Done Jan 27, 2022
@PhearZero PhearZero deleted the fix-cors branch January 27, 2022 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Mainnet Blocking
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants