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.
Merge torrust#218: Add environment variable to set permissive CORS po…
…licy f998d9d feat: add env var to set permissive CORS policy (Jose Celano) Pull request description: 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. Top commit has no ACKs. Tree-SHA512: eda45426fb6e6aeceb7213066354a3d9b83de6a3d3e757788e5500c84c2900f6d15f16c95c1b82ae763c487847827c9592859e206a41feb37eec4755a9ea8ff9
- Loading branch information
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