Remove tracked dist/ build artifacts — covered by .gitignore
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
9ed700977b
commit
d930808487
9 changed files with 0 additions and 596 deletions
1
frontend/dist/assets/index-Cs9AL0NS.css
vendored
1
frontend/dist/assets/index-Cs9AL0NS.css
vendored
File diff suppressed because one or more lines are too long
445
frontend/dist/assets/index-DiXG3yPo.js
vendored
445
frontend/dist/assets/index-DiXG3yPo.js
vendored
File diff suppressed because one or more lines are too long
BIN
frontend/dist/icons/icon-192.png
vendored
BIN
frontend/dist/icons/icon-192.png
vendored
Binary file not shown.
|
Before Width: | Height: | Size: 1.4 KiB |
BIN
frontend/dist/icons/icon-512.png
vendored
BIN
frontend/dist/icons/icon-512.png
vendored
Binary file not shown.
|
Before Width: | Height: | Size: 4.1 KiB |
13
frontend/dist/index.html
vendored
13
frontend/dist/index.html
vendored
|
|
@ -1,13 +0,0 @@
|
||||||
<!doctype html>
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8" />
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
||||||
<title>Kitchen</title>
|
|
||||||
<script type="module" crossorigin src="/kitchen/assets/index-DiXG3yPo.js"></script>
|
|
||||||
<link rel="stylesheet" crossorigin href="/kitchen/assets/index-Cs9AL0NS.css">
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div id="root"></div>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
24
frontend/dist/kds-manifest.json
vendored
24
frontend/dist/kds-manifest.json
vendored
|
|
@ -1,24 +0,0 @@
|
||||||
{
|
|
||||||
"name": "Kitchen Display System",
|
|
||||||
"short_name": "KDS",
|
|
||||||
"description": "Kitchen Display System for Kitchen Invoice Flash",
|
|
||||||
"start_url": "/kds-app",
|
|
||||||
"display": "standalone",
|
|
||||||
"background_color": "#1a1a2e",
|
|
||||||
"theme_color": "#1a1a2e",
|
|
||||||
"orientation": "landscape",
|
|
||||||
"icons": [
|
|
||||||
{
|
|
||||||
"src": "/icons/icon-192.png",
|
|
||||||
"sizes": "192x192",
|
|
||||||
"type": "image/png",
|
|
||||||
"purpose": "any maskable"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"src": "/icons/icon-512.png",
|
|
||||||
"sizes": "512x512",
|
|
||||||
"type": "image/png",
|
|
||||||
"purpose": "any maskable"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
24
frontend/dist/manifest.json
vendored
24
frontend/dist/manifest.json
vendored
|
|
@ -1,24 +0,0 @@
|
||||||
{
|
|
||||||
"name": "Kitchen Invoice Upload",
|
|
||||||
"short_name": "Invoice Upload",
|
|
||||||
"description": "Quick invoice photo upload for Kitchen Invoice Flash",
|
|
||||||
"start_url": "/upload-app",
|
|
||||||
"display": "standalone",
|
|
||||||
"background_color": "#1a1a2e",
|
|
||||||
"theme_color": "#1a1a2e",
|
|
||||||
"orientation": "portrait",
|
|
||||||
"icons": [
|
|
||||||
{
|
|
||||||
"src": "/icons/icon-192.png",
|
|
||||||
"sizes": "192x192",
|
|
||||||
"type": "image/png",
|
|
||||||
"purpose": "any maskable"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"src": "/icons/icon-512.png",
|
|
||||||
"sizes": "512x512",
|
|
||||||
"type": "image/png",
|
|
||||||
"purpose": "any maskable"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
28
frontend/dist/pdf.worker.min.mjs
vendored
28
frontend/dist/pdf.worker.min.mjs
vendored
File diff suppressed because one or more lines are too long
61
frontend/dist/sw.js
vendored
61
frontend/dist/sw.js
vendored
|
|
@ -1,61 +0,0 @@
|
||||||
const CACHE_NAME = 'kitchen-app-v3'
|
|
||||||
const SHELL_URLS = [
|
|
||||||
'/manifest.json',
|
|
||||||
'/kds-manifest.json',
|
|
||||||
]
|
|
||||||
|
|
||||||
self.addEventListener('install', (event) => {
|
|
||||||
event.waitUntil(
|
|
||||||
caches.open(CACHE_NAME).then((cache) => cache.addAll(SHELL_URLS))
|
|
||||||
)
|
|
||||||
self.skipWaiting()
|
|
||||||
})
|
|
||||||
|
|
||||||
self.addEventListener('activate', (event) => {
|
|
||||||
event.waitUntil(
|
|
||||||
caches.keys().then((keys) =>
|
|
||||||
Promise.all(keys.filter((k) => k !== CACHE_NAME).map((k) => caches.delete(k)))
|
|
||||||
)
|
|
||||||
)
|
|
||||||
self.clients.claim()
|
|
||||||
})
|
|
||||||
|
|
||||||
self.addEventListener('fetch', (event) => {
|
|
||||||
const url = new URL(event.request.url)
|
|
||||||
|
|
||||||
// Never cache API/auth calls
|
|
||||||
if (url.pathname.startsWith('/api/') || url.pathname.startsWith('/auth/')) {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// Navigation requests (HTML pages): always network-first
|
|
||||||
if (event.request.mode === 'navigate') {
|
|
||||||
event.respondWith(
|
|
||||||
fetch(event.request)
|
|
||||||
.then((response) => {
|
|
||||||
const clone = response.clone()
|
|
||||||
caches.open(CACHE_NAME).then((cache) => cache.put(event.request, clone))
|
|
||||||
return response
|
|
||||||
})
|
|
||||||
.catch(() => caches.match(event.request).then((c) => c || caches.match('/')))
|
|
||||||
)
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// Static assets (JS/CSS with content hashes): cache-first
|
|
||||||
event.respondWith(
|
|
||||||
caches.match(event.request).then((cached) => {
|
|
||||||
return cached || fetch(event.request).then((response) => {
|
|
||||||
if (event.request.method === 'GET' && response.status === 200) {
|
|
||||||
const clone = response.clone()
|
|
||||||
caches.open(CACHE_NAME).then((cache) => cache.put(event.request, clone))
|
|
||||||
}
|
|
||||||
return response
|
|
||||||
})
|
|
||||||
}).catch(() => {
|
|
||||||
if (event.request.mode === 'navigate') {
|
|
||||||
return caches.match('/')
|
|
||||||
}
|
|
||||||
})
|
|
||||||
)
|
|
||||||
})
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue