Skip to content

Commit e166522

Browse files
committed
enable UPS banner functionality and update UPS message wording
1 parent dd830bc commit e166522

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

wrangler.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ enabled = false
1717

1818
# Language setting (FR or EN)
1919
LANGUAGE = "FR"
20-
# Enable/disable cache (true/false) for limite api call between this worker and the kv storage, in Cloudflare free plan You have only 100 000 reads per day
20+
# Enable/disable cache (true/false) for limite api call between this worker and the kv storage, in Cloudflare free plan You have only 100 000 reads per day
2121
ENABLE_CACHE = false
2222
# Cache duration in ms (default: 60000 = 1 minute)
2323
CACHE_TTL_MS = 60000
@@ -29,9 +29,9 @@ ENABLE_4G_BANNER = true
2929
TEXT_4G_BANNER_MESSAGE = "Attention des lenteurs peuvent survenir, ma fibre est H.S. Le serveur fonctionne en 4G !"
3030

3131
# Enable or disable UPS banner functionality (requires NUT server)
32-
ENABLE_UPS_BANNER = false
32+
ENABLE_UPS_BANNER = true
3333
# Message for UPS banner when running on battery
34-
TEXT_UPS_BANNER_MESSAGE = "Le serveur fonctionne sur onduleur (batterie). Une coupure de courant est en cours !"
34+
TEXT_UPS_BANNER_MESSAGE = "Le serveur fonctionne batterie. Une coupure de courant est en cours !"
3535

3636

3737
# Enable or disable the error reporting functionality

0 commit comments

Comments
 (0)