This repository has been archived on 2022-08-19. You can view files and clone it, but cannot push or open issues or pull requests.
hydrogen-web/src/platform/web/index.html

41 lines
2.0 KiB
HTML
Raw Normal View History

2019-02-07 03:34:39 +05:30
<!DOCTYPE html>
<html>
2020-10-26 21:18:04 +05:30
<head>
<meta charset="utf-8">
<title>Hydrogen Chat</title>
<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"/>
<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">
<meta name="description" content="A matrix chat application">
<link rel="apple-touch-icon" href="./assets/icon-maskable.png">
<link rel="icon" type="image/png" href="assets/icon-maskable.png">
<link rel="stylesheet" type="text/css" href="./ui/css/main.css">
<link rel="stylesheet" type="text/css" href="./ui/css/themes/element/theme.css" title="Element Theme">
<link rel="alternate stylesheet" type="text/css" href="./ui/css/themes/bubbles/theme.css" title="Bubbles Theme">
2020-10-26 21:18:04 +05:30
</head>
<body class="hydrogen">
<script id="version" type="disabled">
2020-08-12 15:12:42 +05:30
window.HYDROGEN_VERSION = "%%VERSION%%";
window.HYDROGEN_GLOBAL_HASH = "%%GLOBAL_HASH%%";
</script>
2020-10-26 21:18:04 +05:30
<script id="main" type="module">
import {main} from "./main";
import {Platform} from "./Platform";
import {olmPaths, downloadSandboxPath, workerPath} from "./sdk/paths/vite";
2020-10-26 21:18:04 +05:30
main(new Platform(document.body, {
worker: workerPath,
olm: olmPaths,
downloadSandbox: downloadSandboxPath,
2021-03-31 21:31:49 +05:30
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: {...},
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>