Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Gitlab will go into maintenance Friday 3rd February from 9:00 to 10:00
Open sidebar
R3
howto-cards
Commits
3496b0b3
Verified
Commit
3496b0b3
authored
Oct 28, 2019
by
Laurent Heirendt
✈
Browse files
exception if sub empty
parent
041c63ee
Pipeline
#15748
passed with stage
in 1 minute and 31 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.ci/.autoRedirect
View file @
3496b0b3
...
...
@@ -27,10 +27,12 @@
if
(
status
===
200
){
// internal pages
window
.
location
.
href
=
'
https://r3-core.pages.uni.lu/howto-cards-internal/stable/internal/
'
+
sub
;
if
(
sub
.
length
>
0
)
{
sub
=
'
internal/
'
+
sub
;
}
window
.
location
.
href
=
'
https://r3-core.pages.uni.lu/howto-cards-internal/stable/
'
+
sub
;
}
else
{
// external pages
window
.
location
.
href
=
'
https://r3.pages.uni.lu/howto-cards/stable/external/
'
+
sub
;
if
(
sub
.
length
>
0
)
{
sub
=
'
external/
'
+
sub
;
}
window
.
location
.
href
=
'
https://r3.pages.uni.lu/howto-cards/stable/
'
+
sub
;
}
});
</script>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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