1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-12 11:12:06 +00:00
iiab/roles/jupyterhub/templates/patch-http-warning.sh.j2
2021-09-01 01:13:55 -04:00

4 lines
190 B
Django/Jinja

#!/bin/bash -x
# Do not enable the warning about the insecurity of http protocol
sed -i 's/if (window\.location.*/if (false) {/' {{ jupyterhub_venv }}/share/jupyterhub/templates/login.html