fix: support service worker toggle in prod and dev
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 2m5s

This commit is contained in:
2026-03-01 21:41:33 +01:00
parent 4441c59584
commit fdc9da7f8f
5 changed files with 29 additions and 25 deletions

View File

@@ -285,7 +285,7 @@ export function CacheSettings() {
try {
const success = await setDevModeEnabled(checked);
if (!success) {
throw new Error("Failed to toggle service worker in development");
throw new Error("Failed to toggle service worker");
}
toast({
title: t("settings.title"),