fix: support service worker toggle in prod and dev
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 2m5s
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 2m5s
This commit is contained in:
@@ -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"),
|
||||
|
||||
Reference in New Issue
Block a user