Commit ec72db8e authored by JosephK's avatar JosephK
Browse files

HTTPS

parent 1a3b8f25
Pipeline #18586 passed with stages
in 1 minute and 14 seconds
......@@ -3,10 +3,10 @@
{% block body %}
{{ super() }}
<script type="text/javascript">
/*var loc = window.location.href+'';
if (loc.indexOf('http://') > -1 && window.location.host.indexOf('framasoft.') > -1){
window.location.href = loc.replace('framasoft.frama.io/docs','docs.framasoft.org').replace('http://','https://');
}*/
var loc = window.location.href+'';
if (loc.indexOf('http://') > -1 && window.location.host.indexOf('frama') > -1){
window.location.href = loc.replace('framasoft.frama.io/framacloud','framacloud.org').replace('http://','https://');
}
var l$ = {
js: {
j$: 'noConflict',
......
......@@ -3,10 +3,10 @@
{% block body %}
{{ super() }}
<script type="text/javascript">
/*var loc = window.location.href+'';
if (loc.indexOf('http://') > -1 && window.location.host.indexOf('framasoft.') > -1){
window.location.href = loc.replace('framasoft.frama.io/docs','docs.framasoft.org').replace('http://','https://');
}*/
var loc = window.location.href+'';
if (loc.indexOf('http://') > -1 && window.location.host.indexOf('frama') > -1){
window.location.href = loc.replace('framasoft.frama.io/framacloud','framacloud.org').replace('http://','https://');
}
var l$ = {
js: {
j$: 'noConflict',
......
Supports Markdown
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