Commit 670e4e4e by Achilleas Pipinellis

Correct DOMAIN host

parent 9cdf1d09
{% if DOMAIN %}
<script type="text/javascript">
// Redirect to https with javascript
var host = "{{ DOMAIN }}}";
var host = "{{ DOMAIN }}";
if ((host == window.location.host) && (window.location.protocol != 'https:')) {
window.location = window.location.toString().replace(/^http:/, "https:");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment