Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
R3
howto-cards
Commits
a998243b
Verified
Commit
a998243b
authored
Jul 09, 2019
by
Laurent Heirendt
✈
Browse files
change url in autoredirect
parent
0a14705f
Pipeline
#11556
passed with stage
in 1 minute
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.ci/.autoRedirect
View file @
a998243b
...
...
@@ -13,10 +13,10 @@
}
});
}
UrlExists
(
'
https://r3-core.pages.uni.lu/labCards/index.html
'
,
function
(
status
){
UrlExists
(
'
https://r3-core.pages.uni.lu/labCards
-internal
/index.html
'
,
function
(
status
){
if
(
status
===
200
){
// internal pages
window
.
location
.
href
=
'
https://r3-core.pages.uni.lu/labCards/stable
'
;
window
.
location
.
href
=
'
https://r3-core.pages.uni.lu/labCards
-internal
/stable
'
;
}
else
{
// external pages
window
.
location
.
href
=
'
https://r3.pages.uni.lu/labCards/stable
'
;
...
...
Write
Preview
Markdown
is supported
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