2019-02-07 03:34:39 +05:30
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
2020-10-26 21:18:04 +05:30
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
2021-10-07 00:08:39 +05:30
|
|
|
<title>Hydrogen Chat</title>
|
2019-09-15 15:52:43 +05:30
|
|
|
<meta name="viewport" content="width=device-width, user-scalable=no">
|
2020-08-12 15:12:42 +05:30
|
|
|
<meta name="application-name" content="Hydrogen Chat"/>
|
2019-09-15 18:02:12 +05:30
|
|
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
|
|
|
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
2020-08-12 15:12:42 +05:30
|
|
|
<meta name="apple-mobile-web-app-title" content="Hydrogen Chat">
|
2019-09-15 18:02:12 +05:30
|
|
|
<meta name="description" content="A matrix chat application">
|
2021-10-05 20:40:17 +05:30
|
|
|
<link rel="apple-touch-icon" href="./assets/icon-maskable.png">
|
2021-10-07 00:08:39 +05:30
|
|
|
<link rel="icon" type="image/png" href="assets/icon-maskable.png">
|
2022-04-12 21:06:09 +05:30
|
|
|
<script type="module"> import "@theme/default"; </script>
|
2020-10-26 21:18:04 +05:30
|
|
|
</head>
|
|
|
|
<body class="hydrogen">
|
|
|
|
<script id="main" type="module">
|
2021-10-05 20:40:17 +05:30
|
|
|
import {main} from "./main";
|
|
|
|
import {Platform} from "./Platform";
|
2021-10-11 21:29:31 +05:30
|
|
|
import configJSON from "./assets/config.json?raw";
|
2021-12-22 22:18:08 +05:30
|
|
|
import assetPaths from "./sdk/paths/vite";
|
2021-12-03 15:12:38 +05:30
|
|
|
if (import.meta.env.PROD) {
|
2021-12-22 22:18:08 +05:30
|
|
|
assetPaths.serviceWorker = "sw.js";
|
2021-12-03 15:12:38 +05:30
|
|
|
}
|
2021-10-11 21:29:31 +05:30
|
|
|
const platform = new Platform(
|
|
|
|
document.body,
|
2021-12-22 22:18:08 +05:30
|
|
|
assetPaths,
|
|
|
|
JSON.parse(configJSON),
|
2021-12-03 15:12:38 +05:30
|
|
|
{development: import.meta.env.DEV}
|
2021-10-11 21:29:31 +05:30
|
|
|
);
|
|
|
|
main(platform);
|
2020-10-26 21:18:04 +05:30
|
|
|
</script>
|
|
|
|
</body>
|
2019-02-27 03:15:58 +05:30
|
|
|
</html>
|