1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-12-24 10:07:21 +02:00

install screen wasn't setting Settings.Scheme properly in the JS code

This commit is contained in:
Brad Rydzewski 2014-02-08 14:19:51 -07:00
parent 52faded952
commit dc3018434e

View File

@ -17,5 +17,6 @@
{{ define "script" }}
<script>
$("input[name=Domain]").val(window.location.host)
$("input[name=Scheme]").val(window.location.protocol == "https:"?"https":"http")
</script>
{{ end }}