Skip to content
Snippets Groups Projects
Commit be5d8ecd authored by Laurent Heirendt's avatar Laurent Heirendt :airplane:
Browse files

Merge branch 'develop' into 'master'

Regular merge of develop

See merge request R3/labCards!1

Former-commit-id: 6d24a079
parents 6b41fa0b b2bcffef
No related branches found
No related tags found
No related merge requests found
This commit is part of merge request !49. Comments created here will be created in the context of that merge request.
<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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment