1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-12-26 16:15:25 +00:00
webvirtcloud/static/drf-yasg/redoc-old/redoc.min.js.map
2022-08-24 15:14:14 +03:00

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>