forked from canonical/lxd-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
29 lines (26 loc) · 908 Bytes
/
index.html
File metadata and controls
29 lines (26 loc) · 908 Bytes
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" dir="ltr">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>LXD UI</title>
<script>
(function() {
const path = window.location.pathname;
const uiIndex = path.indexOf("/ui/");
const rootPath = uiIndex > -1 ? path.substring(0, uiIndex) : "";
window.ROOT_PATH = rootPath;
const basePath = rootPath + "/ui/";
const baseTag = document.createElement('base');
baseTag.href = window.location.origin + basePath;
document.head.appendChild(baseTag);
})();
</script>
<link rel="shortcut icon" href="assets/img/favicon-32x32.png" id="favicon">
<script>const global = globalThis;</script>
<script type="module" src="/src/index.tsx"></script>
</head>
<body>
<div id="app"></div>
</body>
</html>