The service worker served the cached page first, so a driver ran the old build until the app was opened twice (Joachim on 2026-10-26 kept the old one after the invoice-match deploy). Each build now writes its id to /version.json. On launch a newer live build clears the cached pages and reloads once; while the app stays open an Update banner appears instead, so a reload never cuts off a photo or an upload. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
7 lines
No EOL
99 B
Text
7 lines
No EOL
99 B
Text
node_modules/
|
|
.next/
|
|
dist/
|
|
out/
|
|
.env
|
|
# Written by next.config.js on every build
|
|
public/version.json |