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

#224 fix whitelist #225

Merged
merged 5 commits into from
Sep 25, 2023
Merged

#224 fix whitelist #225

merged 5 commits into from
Sep 25, 2023

Conversation

BelousSofiya
Copy link
Collaborator

Add venv variables to CORS_ORIGIN_WHITELIST in settings.py, add sample.env in FrontEnd folder. For working you need delete 'sample' from filename (just .env) and add basic host-adress in variable REACT_APP_API_HOST (without quotes). Then you can use it like process.env.REACT_APP_API_HOST in your urls.

@BelousSofiya BelousSofiya changed the base branch from master to develop September 24, 2023 13:02
@BelousSofiya BelousSofiya requested review from ddianaoo, popovycholeg and whooaami and removed request for ddianaoo September 24, 2023 13:02
@BelousSofiya BelousSofiya merged commit 5ae23f7 into develop Sep 25, 2023
@BelousSofiya BelousSofiya deleted the #224FixWhitelist branch September 25, 2023 08:28
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.

4 participants