Refactor Self-Serve progress and department header components:

- Consolidate progress display logic into `SelfServeDepartmentHeader.vue` for better reusability.
- Remove redundant progress headers and styles in `MyWashStart.vue` and `SelfServeTasksStep.vue`.
- Update scoped styles in `SelfServeTasksStep.vue` and `SelfServeDepartmentHeader.vue` to improve layout and readability.
- Fix API URL in `vite.config.js` for version update endpoint.
This commit is contained in:
Jeppe Bundgaard
2026-03-18 14:35:42 +01:00
parent e785275c24
commit d3ed03a4a1
4 changed files with 123 additions and 91 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ export default defineConfig(({ mode }) => {
console.warn('SERVER_UPDATE_TOKEN is not set. Skipping server update.')
} else {
// Run GET request to update version endpoint
const url = `https://api.truckwash.dk/worker/update-version?version=${commit}`
const url = `https://api.truckwash.io/worker/update-version?version=${commit}`
const bearer = `Bearer ${token}`
console.log(`Calling URL: ${url}`)
try {