Skip to content

Commit

Permalink
add example for allow all origins
Browse files Browse the repository at this point in the history
  • Loading branch information
alyssadai committed Aug 29, 2023
1 parent 8bcf15a commit 00a0fe2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@ NB_API_ALLOWED_ORIGINS="https://query.neurobagel.org"

# allow requests from 3 different origins
NB_API_ALLOWED_ORIGINS="https://query.neurobagel.org https://localhost:3000 http://localhost:3000"

# allow requests from any origin - use with caution
NB_API_ALLOWED_ORIGINS="*"
```

### Docker
Expand Down

0 comments on commit 00a0fe2

Please sign in to comment.