Adds a web app manifest, Workbox service worker (via vite-plugin-pwa), and placeholder icons so the app can be installed to a home screen / app window. App shell is precached for offline load; API and upload requests stay network-only so city data and photos are never served stale. Desktop browser access is unaffected. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
18 lines
678 B
HTML
18 lines
678 B
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
|
|
<meta name="theme-color" content="#1971c2" />
|
|
<meta name="mobile-web-app-capable" content="yes" />
|
|
<meta name="apple-mobile-web-app-capable" content="yes" />
|
|
<meta name="apple-mobile-web-app-status-bar-style" content="default" />
|
|
<link rel="icon" href="/favicon-32x32.png" />
|
|
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
|
|
<title>CityTracker</title>
|
|
</head>
|
|
<body>
|
|
<div id="root"></div>
|
|
<script type="module" src="/src/main.tsx"></script>
|
|
</body>
|
|
</html>
|