Add protected date management admin
This commit is contained in:
+1
-1
@@ -38,7 +38,7 @@
|
||||
}
|
||||
|
||||
Promise.all([
|
||||
fetch("appsettings.json?t=" + Date.now()).then((res) => res.json()),
|
||||
fetch("/api/settings?t=" + Date.now(), { cache: "no-store" }).then((res) => res.json()),
|
||||
fetch("/api/booked-dates?t=" + Date.now(), { cache: "no-store" })
|
||||
.then((res) => (res.ok ? res.json() : []))
|
||||
.catch(() => []),
|
||||
|
||||
Reference in New Issue
Block a user