feat: make cooldown optional and remove it from simple config

This commit is contained in:
lyc8503 committed 2025-11-05 23:10:18 +08:00
1 parent 9401202575
commit 70ad2e8677
4 files changed
+3 -5

No files matched your search

+1 -1
View File
@@ -27,7 +27,7 @@ const pageConfig: PageConfig = {
}
const workerConfig: WorkerConfig = {
// Write KV at most every 3 minutes unless the status changed
// [Optional] Write KV at most every N minutes unless the status changed, default to 3
kvWriteCooldownMinutes: 3,
// Enable HTTP Basic auth for status page & API by uncommenting the line below, format `<USERNAME>:<PASSWORD>`
// passwordProtection: 'username:password',