forked from torrust/torrust-index
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add env var to set permissive CORS policy
Running the backend with: ``` TORRUST_IDX_BACK_CORS_PERMISSIVE=true cargo run ``` will make the CORS policy to be permissive, which means you can use a different port for the API and serving the frontend app. It's intented for development purposes.
- Loading branch information
1 parent
910a419
commit f998d9d
Showing
2 changed files
with
15 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters