mirror of
https://github.com/retspen/webvirtcloud
synced 2024-12-30 18:15:21 +00:00
23 lines
595 B
Text
23 lines
595 B
Text
<html>
|
|
<head>
|
|
<script type="text/javascript" charset="utf-8">
|
|
// Map of projects that support handling 404s.
|
|
var supportedProjects = {
|
|
'ReDoc': 'https://redocly.github.io/redoc'
|
|
};
|
|
|
|
var project = window.location.pathname.split('/')[1];
|
|
|
|
// Always fallback to rebilly.com redirect.
|
|
var loc = 'https://www.rebilly.com/';
|
|
|
|
if (supportedProjects.hasOwnProperty(project)) {
|
|
if (typeof supportedProjects[project] === 'string') {
|
|
loc = supportedProjects[project];
|
|
}
|
|
}
|
|
window.location.href = loc;
|
|
</script>
|
|
</head>
|
|
<body></body>
|
|
</html>
|