Update button IDs and API URL

- Added IDs to buttons in `NewBookingStep5.vue` for better UI automation.
- Removed IDs from buttons in `MyBookingsBook.vue`.
- Updated API URL from `truckwash.dk` to `truckwash.io`.
- Disabled service worker `devOptions` in `vite.config.js`.
This commit is contained in:
Jeppe Bundgaard
2026-02-25 17:25:15 +01:00
parent 745d0787ab
commit b8deec06ae
4 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -63,7 +63,7 @@ export default defineConfig(({ mode }) => {
injectRegister: 'auto',
strategies: 'generateSW',
devOptions: {
enabled: true // keep for local dev
enabled: false // keep for local dev
},
workbox: {
maximumFileSizeToCacheInBytes: 12 * 1024 * 1024,
@@ -75,7 +75,7 @@ export default defineConfig(({ mode }) => {
runtimeCaching: [
{
// cache API responses
urlPattern: ({ url }) => url.origin === 'https://api.truckwash.dk',
urlPattern: ({ url }) => url.origin === 'https://api.truckwash.io',
handler: 'NetworkFirst',
options: {
cacheName: 'pleno-api-cache',