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

Use proxy to use api from server #12

Merged
merged 1 commit into from
Jun 30, 2022
Merged

Conversation

KOREAN139
Copy link
Contributor

With current fetching mechanism, users who running their SORA-SVL on remote server will face CORS issue. To avoid this, apply proxy to client. (ref)

Instead of fix "proxy": "http://localhost" in package.json, utilize REACT_APP_SERVER_URL defined in .env

Related issue #11

@YuqiHuai
Copy link
Owner

Great update! Thanks for doing this!

@YuqiHuai YuqiHuai merged commit 00a2148 into YuqiHuai:master Jun 30, 2022
@KOREAN139 KOREAN139 deleted the fix/proxy branch June 30, 2022 19:38
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