Skip to content

Commit

Permalink
fix: PWA support (webpack -> Vite).
Browse files Browse the repository at this point in the history
  • Loading branch information
philipp-meier committed Sep 15, 2023
1 parent 4424771 commit eac009b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 40 deletions.
18 changes: 18 additions & 0 deletions src/WebUI/ClientApp/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,27 @@
<meta charset="UTF-8"/>
<link href="/favicon.ico" rel="icon"/>
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
<meta content="#000000" name="theme-color"/>
<meta content="Chrono - Work on what matters." name="description"/>
<link href="/logo192.png" rel="apple-touch-icon"/>
<!--
manifest.json provides metadata used when your web app is installed on a
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
-->
<link href="/manifest.json" rel="manifest"/>
<!--
Notice the use of %PUBLIC_URL% in the tags above.
It will be replaced with the URL of the `public` folder during the build.
Only files inside the `public` folder can be referenced from the HTML.
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>Chrono</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<script src="/src/main.tsx" type="module"></script>
</body>
Expand Down
40 changes: 0 additions & 40 deletions src/WebUI/ClientApp/public/index.html

This file was deleted.

0 comments on commit eac009b

Please sign in to comment.