Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Sarah Peter
howto-cards
Commits
6d24a079
Commit
6d24a079
authored
Jun 28, 2019
by
Laurent Heirendt
✈
Browse files
Merge branch 'develop' into 'master'
Regular merge of develop See merge request R3/labCards!1
parents
4143a7d3
f0bdc80a
Changes
1
Hide whitespace changes
Inline
Side-by-side
.ci/.autoRedirect
View file @
6d24a079
<html>
<head>
<meta
http-equiv=
"Refresh"
content=
"0; url=https://r3.pages.uni.lu/labCards/stable"
/>
<script
type=
"text/javascript"
src=
"https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js"
></script>
<script
type=
"text/javascript"
>
function
UrlExists
(
url
,
cb
){
jQuery
.
ajax
({
url
:
url
,
dataType
:
'
text
'
,
type
:
'
GET
'
,
complete
:
function
(
xhr
){
if
(
typeof
cb
===
'
function
'
)
cb
.
apply
(
this
,
[
xhr
.
status
]);
}
});
}
UrlExists
(
'
https://r3-core.pages.uni.lu/labCards/index.html
'
,
function
(
status
){
if
(
status
===
200
){
// internal pages
window
.
location
.
href
=
'
https://r3-core.pages.uni.lu/labCards/stable
'
;
}
else
{
// external pages
window
.
location
.
href
=
'
https://r3.pages.uni.lu/labCards/stable
'
;
}
});
</script>
</head>
<body>
<p>
...
...
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