Feature : RTK compress
This commit is contained in:
1 parent
e1a219dba6
commit
8de9aae90c
26 files changed
+1612
No files matched your search
@@ -0,0 +1,11 @@
|
||||
// Synchronous RTK toggle cache. Updated by /api/settings PATCH handler
|
||||
// and initialized from DB on server boot.
|
||||
let enabled = false;
|
||||
|
||||
export function setRtkEnabled(value) {
|
||||
enabled = Boolean(value);
|
||||
}
|
||||
|
||||
export function isRtkEnabled() {
|
||||
return enabled;
|
||||
}
|
||||
Reference in new issue
Block a user