2019-02-07 03:34:39 +05:30
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
2020-10-26 21:18:04 +05:30
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
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">
|
2020-10-15 14:47:33 +05:30
|
|
|
<link rel="apple-touch-icon" href="assets/icon-maskable.png">
|
2020-10-26 14:58:11 +05:30
|
|
|
<link rel="stylesheet" type="text/css" href="src/platform/web/ui/css/main.css">
|
|
|
|
<link rel="stylesheet" type="text/css" href="src/platform/web/ui/css/themes/element/theme.css" title="Element Theme">
|
|
|
|
<link rel="alternate stylesheet" type="text/css" href="src/platform/web/ui/css/themes/bubbles/theme.css" title="Bubbles Theme">
|
2020-10-26 21:18:04 +05:30
|
|
|
</head>
|
|
|
|
<body class="hydrogen">
|
2020-03-24 03:16:31 +05:30
|
|
|
<script id="version" type="disabled">
|
2020-08-12 15:12:42 +05:30
|
|
|
window.HYDROGEN_VERSION = "%%VERSION%%";
|
2020-10-02 23:24:24 +05:30
|
|
|
window.HYDROGEN_GLOBAL_HASH = "%%GLOBAL_HASH%%";
|
2019-09-15 18:02:12 +05:30
|
|
|
</script>
|
2020-10-26 21:18:04 +05:30
|
|
|
<script id="main" type="module">
|
|
|
|
import {main} from "./src/main.js";
|
2020-10-26 20:14:11 +05:30
|
|
|
import {Platform} from "./src/platform/web/Platform.js";
|
2020-10-26 21:18:04 +05:30
|
|
|
main(new Platform(document.body, {
|
2020-09-10 22:11:23 +05:30
|
|
|
worker: "src/worker.js",
|
2021-03-23 19:48:07 +05:30
|
|
|
downloadSandbox: "assets/download-sandbox.html",
|
|
|
|
// NOTE: uncomment this if you want the service worker for local development
|
2021-03-19 01:22:50 +05:30
|
|
|
// serviceWorker: "sw.js",
|
|
|
|
// push: {
|
|
|
|
// appId: "io.element.hydrogen.web",
|
|
|
|
// gatewayUrl: "...",
|
|
|
|
// applicationServerKey: "...",
|
|
|
|
// },
|
2020-09-10 22:11:23 +05:30
|
|
|
olm: {
|
|
|
|
wasm: "lib/olm/olm.wasm",
|
|
|
|
legacyBundle: "lib/olm/olm_legacy.js",
|
|
|
|
wasmBundle: "lib/olm/olm.js",
|
|
|
|
}
|
2021-03-01 19:31:43 +05:30
|
|
|
}, null, {development: true}));
|
2020-10-26 21:18:04 +05:30
|
|
|
</script>
|
|
|
|
</body>
|
2019-02-27 03:15:58 +05:30
|
|
|
</html>
|