Skip to content
Snippets Groups Projects
Commit 012ad9ad authored by František Dvořák's avatar František Dvořák
Browse files

Merge branch 'check_fix' into 'master'

Fixing RTC mode enabling check + adding RTC extension lock

See merge request !14
parents 5541d40a 6e87f00e
Branches
No related tags found
1 merge request!14Fixing RTC mode enabling check + adding RTC extension lock
......@@ -152,8 +152,9 @@ singleuser:
# Disables RTC extension. To enable it set this env variable in kubespawner_override
# to JUPYTERHUB_ALLOW_TOKEN_IN_URL="1"
if [ -z JUPYTERHUB_ALLOW_TOKEN_IN_URL ]; then
if [ -z "$JUPYTERHUB_ALLOW_TOKEN_IN_URL" ]; then
jupyter-labextension disable @jupyter/collaboration-extension
jupyter-labextension lock @jupyter/collaboration-extension
fi
cd .
......
......@@ -134,8 +134,9 @@ singleuser:
# Disables RTC extension. To enable it set this env variable in kubespawner_override
# to JUPYTERHUB_ALLOW_TOKEN_IN_URL="1"
if [ -z JUPYTERHUB_ALLOW_TOKEN_IN_URL ]; then
if [ -z "$JUPYTERHUB_ALLOW_TOKEN_IN_URL" ]; then
jupyter-labextension disable @jupyter/collaboration-extension
jupyter-labextension lock @jupyter/collaboration-extension
fi
cd .
......
......@@ -134,8 +134,9 @@ singleuser:
# Disables RTC extension. To enable it set this env variable in kubespawner_override
# to JUPYTERHUB_ALLOW_TOKEN_IN_URL="1"
if [ -z JUPYTERHUB_ALLOW_TOKEN_IN_URL ]; then
if [ -z "$JUPYTERHUB_ALLOW_TOKEN_IN_URL" ]; then
jupyter-labextension disable @jupyter/collaboration-extension
jupyter-labextension lock @jupyter/collaboration-extension
fi
cd .
......
......@@ -135,8 +135,9 @@ singleuser:
# Disables RTC extension. To enable it set this env variable in kubespawner_override
# to JUPYTERHUB_ALLOW_TOKEN_IN_URL="1"
if [ -z JUPYTERHUB_ALLOW_TOKEN_IN_URL ]; then
if [ -z "$JUPYTERHUB_ALLOW_TOKEN_IN_URL" ]; then
jupyter-labextension disable @jupyter/collaboration-extension
jupyter-labextension lock @jupyter/collaboration-extension
fi
cd .
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment