all update
This commit is contained in:
5
jupyterhub_config.py
Normal file → Executable file
5
jupyterhub_config.py
Normal file → Executable file
@@ -70,9 +70,10 @@ if admin:
|
||||
# "environment": {"JUPYTER_ENABLE_LAB": "yes"}
|
||||
# })
|
||||
|
||||
# 启动jupyter时候增加跨域支持
|
||||
# 启动jupyter时候增加跨域支持, 否则反向代理的时候出现问题
|
||||
# --NotebookApp.iopub_data_rate_limit=10000000 给nglview使用
|
||||
c.DockerSpawner.extra_create_kwargs.update({
|
||||
"environment": {"NOTEBOOK_ARGS": "--NotebookApp.allow_origin='*'"}
|
||||
"environment": {"NOTEBOOK_ARGS": "--NotebookApp.allow_origin='*' --NotebookApp.iopub_data_rate_limit=10000000"}
|
||||
})
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user