vector-im-hydrogen-web/index.html

42 lines
2.1 KiB
HTML
Raw Permalink Normal View History

2019-02-06 23:04:39 +01:00
<!DOCTYPE html>
<html>
2020-10-26 16:48:04 +01:00
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no">
2020-08-12 11:42:42 +02:00
<meta name="application-name" content="Hydrogen Chat"/>
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
2020-08-12 11:42:42 +02:00
<meta name="apple-mobile-web-app-title" content="Hydrogen Chat">
<meta name="description" content="A matrix chat application">
2020-10-15 11:17:33 +02:00
<link rel="apple-touch-icon" href="assets/icon-maskable.png">
2020-10-26 10:28:11 +01:00
<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 16:48:04 +01:00
</head>
<body class="hydrogen">
<script id="version" type="disabled">
2020-08-12 11:42:42 +02:00
window.HYDROGEN_VERSION = "%%VERSION%%";
window.HYDROGEN_GLOBAL_HASH = "%%GLOBAL_HASH%%";
</script>
2020-10-26 16:48:04 +01:00
<script id="main" type="module">
import {main} from "./src/main.js";
import {Platform} from "./src/platform/web/Platform.js";
2020-10-26 16:48:04 +01:00
main(new Platform(document.body, {
worker: "src/worker.js",
downloadSandbox: "assets/download-sandbox.html",
2021-03-31 18:01:49 +02:00
defaultHomeServer: "matrix.org",
// NOTE: uncomment this if you want the service worker for local development
// serviceWorker: "sw.js",
// NOTE: provide push config if you want push notifs for local development
// see assets/config.json for what the config looks like
// push: {...},
olm: {
wasm: "lib/olm/olm.wasm",
legacyBundle: "lib/olm/olm_legacy.js",
wasmBundle: "lib/olm/olm.js",
}
2021-03-01 15:01:43 +01:00
}, null, {development: true}));
2020-10-26 16:48:04 +01:00
</script>
</body>
2019-02-26 22:45:58 +01:00
</html>