-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
29 lines (25 loc) · 787 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
28
29
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>UCM | Unison Codebase Manager</title>
<script type="module" src="/src/main.ts" defer></script>
<script type="text/javascript">
const pathSegments = location.pathname.split("/").filter((p) => p !== "");
if (pathSegments.length >= 2) {
const basePath = pathSegments.slice(0, 2).join("/");
const newBase = document.createElement("base");
newBase.setAttribute("href", "/" + basePath + "/");
document.getElementsByTagName("head")[0].appendChild(newBase);
}
</script>
<style>
body {
/* color-gray-darken-30 */
background: #18181c;
}
</style>
</head>
<body></body>
</html>