We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90b4394 commit 9cbe860Copy full SHA for 9cbe860
helm-chart/binderhub/values.yaml
@@ -90,6 +90,10 @@ jupyterhub:
90
allow_origin = cors.get('allowOrigin')
91
if allow_origin:
92
args.append('--NotebookApp.allow_origin=' + allow_origin)
93
+ # allow_origin=* doesn't properly allow cross-origin requests to single files
94
+ # see https://github.com/jupyter/notebook/pull/5898
95
+ if allow_origin == '*':
96
+ args.append('--NotebookApp.allow_origin_pat=.*')
97
args += self.args
98
return args
99
0 commit comments