From 86c751525273af316503c73fe7e1ab18d7049827 Mon Sep 17 00:00:00 2001 From: George Hunt Date: Tue, 31 Aug 2021 23:28:13 +0000 Subject: [PATCH] add missing patch-http-warning.sh --- roles/jupyterhub/templates/patch-http-warning.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 roles/jupyterhub/templates/patch-http-warning.sh diff --git a/roles/jupyterhub/templates/patch-http-warning.sh b/roles/jupyterhub/templates/patch-http-warning.sh new file mode 100755 index 000000000..b014af707 --- /dev/null +++ b/roles/jupyterhub/templates/patch-http-warning.sh @@ -0,0 +1,4 @@ +#!/bin/bash -x +# Do not enable the warning about the insecurity of http protocol + + sed -i -e's/if (window\.location.*/if (false) {/' /opt/iiab/jupyterhub/share/jupyterhub/templates/login.html