1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 19:52:06 +00:00
iiab/roles/jupyterhub/templates/patch-http-warning.sh.j2

5 lines
190 B
Text
Raw Normal View History

2021-09-01 05:13:55 +00:00
#!/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