You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
666 B
18 lines
666 B
import os
|
|
c.NotebookApp.allow_remote_access = True
|
|
#c.NotebookApp.default_url = '/jupyter/lab?reset'
|
|
c.ServerApp.allow_origin = '*'
|
|
c.NotebookApp.allow_origin = '*'
|
|
c.NotebookApp.ip = '*'
|
|
c.NotebookApp.notebook_dir = '/'
|
|
c.NotebookApp.open_browser = False
|
|
c.NotebookApp.password = ''
|
|
c.NotebookApp.password_required = False
|
|
c.NotebookApp.port = 80
|
|
c.NotebookApp.base_url = "jupyter/" + os.getenv('JUPYTERSVC')
|
|
#c.NotebookApp.base_url = "/"
|
|
c.LabApp.disable_check_xsrf = True
|
|
c.NotebookApp.disable_check_xsrf = True
|
|
c.NotebookApp.tornado_settings = {'headers': { 'Content-Security-Policy': "frame-ancestors * 'self'" } }
|
|
c.NotebookApp.default_show_linenumbers = True
|