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.
2 parents e2f23e9 + 9cbe860 commit 97fb8c3Copy full SHA for 97fb8c3
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