Skip to content
Snippets Groups Projects
Verified Commit 6e87f00e authored by Jaromír Hradil's avatar Jaromír Hradil
Browse files

Fixing RTC mode enabling check + adding RTC extension lock

parent 5541d40a
No related branches found
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.
Finish editing this message first!
Please register or to comment