diff --git a/jupyterhub_config.py b/jupyterhub_config.py
index 9c15a540ec9d594f0c2a0db1b2164a086ab59aaa..8c180158000cce9789240da375ede1c149cdcb98 100644
--- a/jupyterhub_config.py
+++ b/jupyterhub_config.py
@@ -1119,7 +1119,7 @@ c.JupyterHub.spawner_class = 'dockerspawner.DockerSpawner'
 import os
 
 
-c.Spawner.args = ['--NotebookApp.allow_origin="https://jupyterhub.ki.ub.unibas.ch']
+c.Spawner.args = ['--NotebookApp.allow_origin="https://jupyterhub.ki.ub.unibas.ch"']
 
 # Spawn containers from this image
 c.DockerSpawner.image = os.environ["DOCKER_NOTEBOOK_IMAGE"]