mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-22 19:14:52 +01:00
92fdbe15df
so build can adjust the file paths, and we can prevent olm from loading by not passing them
35 lines
1.5 KiB
HTML
35 lines
1.5 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, user-scalable=no">
|
|
<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">
|
|
<meta name="apple-mobile-web-app-title" content="Hydrogen Chat">
|
|
<meta name="description" content="A matrix chat application">
|
|
<link rel="stylesheet" type="text/css" href="src/ui/web/css/main.css">
|
|
<link rel="stylesheet" type="text/css" href="src/ui/web/css/themes/element/theme.css" title="Element Theme">
|
|
<link rel="alternate stylesheet" type="text/css" href="src/ui/web/css/themes/bubbles/theme.css" title="Bubbles Theme">
|
|
</head>
|
|
<body class="hydrogen">
|
|
<script id="version" type="disabled">
|
|
window.HYDROGEN_VERSION = "%%VERSION%%";
|
|
</script>
|
|
<script id="main" type="module">
|
|
import {main} from "./src/main.js";
|
|
main(document.body, {
|
|
wasm: "lib/olm/olm.wasm",
|
|
legacyBundle: "lib/olm/olm_legacy.js",
|
|
wasmBundle: "lib/olm/olm.js",
|
|
});
|
|
</script>
|
|
<script id="service-worker" type="disabled">
|
|
if('serviceWorker' in navigator) {
|
|
navigator.serviceWorker.register('sw.js')
|
|
.then(function() { console.log("Service Worker registered"); });
|
|
}
|
|
</script>
|
|
</body>
|
|
</html>
|