2020-10-14 00:03:45 -05:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<head>
|
2020-10-14 07:44:19 -05:00
|
|
|
<link rel="stylesheet" type="text/css" href="/styles.css">
|
|
|
|
<link rel="stylesheet" type="text/css" href="/local.css">
|
|
|
|
<link rel="icon" type="image/svg" href="/logo.svg">
|
2020-10-17 05:26:31 -05:00
|
|
|
|
2020-10-14 00:03:45 -05:00
|
|
|
<script src="/nunjucks-slim.js"></script>
|
|
|
|
<script src="/templates.js"></script>
|
2020-10-18 09:23:28 -05:00
|
|
|
<script src="/shaka-player.compiled.js"></script>
|
2020-10-17 05:26:31 -05:00
|
|
|
|
2020-10-14 00:03:45 -05:00
|
|
|
<script>
|
|
|
|
nunjucks.configure({ autoescape: true });
|
2020-10-14 07:44:19 -05:00
|
|
|
//should check for and refresh login tokens on pageload..
|
|
|
|
if(document.cookie.match(/^(.*;)?\s*X-Auth-As\s*=\s*[^;]+(.*)?$/) !== null) {
|
|
|
|
var xhr = new XMLHttpRequest();
|
|
|
|
xhr.open("POST", "/api/login", true);
|
|
|
|
xhr.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
|
|
|
|
xhr.send("");
|
|
|
|
}
|
|
|
|
</script>
|
2020-10-14 00:03:45 -05:00
|
|
|
</head>
|
2020-10-17 00:11:24 -05:00
|
|
|
<body onload="render(window.location.pathname)">
|
2020-10-14 07:44:19 -05:00
|
|
|
<script src="/index.js"></script>
|
2020-10-14 00:03:45 -05:00
|
|
|
</body>
|