Skip to content

Conversation

@josecelano
Copy link
Member

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.

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.
@josecelano josecelano linked an issue Jun 26, 2023 that may be closed by this pull request
@josecelano josecelano merged commit 5568bd0 into torrust:develop Jun 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Add a new env var to make the CORS policy permissive

1 participant