autobrr/web/index.html
ze0s 319bc2f200
fix(web): PWA asset and route handling (#898)
* fix(web): PWA asset and fallback route handling

* fix(web): strip baseurl

* fix(web): add back manifest.json

* fix(web): add back manifest.json

* fix(web): log file

* fix(web): do not trim baseurl

* fix(web): try different start_url

* fix(web): pwa with subfolder
2023-05-02 19:06:53 +02:00

35 lines
No EOL
1.3 KiB
HTML

<!--
~ Copyright (c) 2021 - 2023, Ludvig Lundgren and the autobrr contributors.
~ SPDX-License-Identifier: GPL-2.0-or-later
-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#141415" />
<meta
name="description"
content="autobrr"
/>
<link rel="apple-touch-icon" href="/logo192.png" />
<link rel="apple-touch-icon" href="/apple-touch-icon-iphone-60x60.png">
<link rel="apple-touch-icon" sizes="60x60" href="/apple-touch-icon-ipad-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="/apple-touch-icon-iphone-retina-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="/apple-touch-icon-ipad-retina-152x152.png">
<!-- <link crossorigin="use-credentials" rel="manifest" href="/manifest.json" />-->
<title>autobrr</title>
<base href="{{.BaseUrl}}">
<script>
window.APP = {};
window.APP.baseUrl = "{{.BaseUrl}}";
</script>
</head>
<body class="bg-color">
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root" class="pattern"></div>
<script type="module" src="./src/index.tsx"></script>
</body>
</html>