Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Framasoft
framacloud
Commits
ec72db8e
Commit
ec72db8e
authored
Jul 07, 2017
by
JosephK
Browse files
HTTPS
parent
1a3b8f25
Pipeline
#18586
passed with stages
in 1 minute and 14 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
en/_layouts/website/page.html
View file @
ec72db8e
...
...
@@ -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('frama
soft.
') > -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
'
,
...
...
fr/_layouts/website/page.html
View file @
ec72db8e
...
...
@@ -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('frama
soft.
') > -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
'
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment