Skip to content

Commit

Permalink
Allow Cloud Shell origin pattern in the Jupyter notebook configuratio…
Browse files Browse the repository at this point in the history
…n ( kubeflow/pipelines#179 ) (kubeflow#1956)

Little add-on to the jupyter notebook configuration, so that Jupyter Notebook deployed on GKE can be acessed via Cloud Shell (Avoid "Blocking Cross Origin API request" error)
  • Loading branch information
fdasilva59 authored and k8s-ci-robot committed Nov 15, 2018
1 parent b4e1c0d commit 92e505d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
c.NotebookApp.ip = '*'
c.NotebookApp.port = 8888
c.NotebookApp.open_browser = False
c.NotebookApp.allow_origin_pat = ".*-dot-devshell.appspot.com$"

# Generate a self-signed certificate
if 'GEN_CERT' in os.environ:
Expand Down

0 comments on commit 92e505d

Please sign in to comment.