Skip to content

Commit

Permalink
Allow all origins to avoid CORS
Browse files Browse the repository at this point in the history
  • Loading branch information
lsetiawan committed Jun 23, 2023
1 parent 1ec923e commit 3247b34
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .devcontainer/scipy2023/jupyter_lab_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,11 @@
## The default URL to redirect to from `/`
# Default: '/lab'
c.LabApp.default_url = '/lab/tree/workshops/scipy2023/index.ipynb'

## Set the Access-Control-Allow-Origin header
#
# Use '*' to allow any origin to access your server.
#
# Takes precedence over allow_origin_pat.
# Default: ''
c.ServerApp.allow_origin = '*'

0 comments on commit 3247b34

Please sign in to comment.