-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
27 lines (27 loc) · 927 Bytes
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>FI Demo</title>
<script type="text/javascript">
const redirect = (r) => {
if (r.search[1] === '/' ) {
let decoded = r.search.slice(1).split('&').map( (s) => {
return s.replace(/~and~/g, '&')
}).join('?');
window.history.replaceState( null, null, r.pathname.slice(0, -1) + decoded + r.hash );
}
};
redirect(window.location);
</script>
</head>
<body>
<!-- PLACE JUST BELOW BODY START TAG AT THE BEGINNING OF DOCUMENT -->
<div class="fsa-whiteout" tabindex="-1" id="fsa-whiteout" aria-hidden="true"></div>
<!-- END WHITEOUT -->
<div id="app"></div>
<script type="module" src="/src/main.js"></script>
</body>
</html>