feat: revenue tracking
* wip * wip * wip * wip * show revenue better on overview * align realtime and overview counters * update revenue docs * always return device id * add project settings, improve projects charts, * fix: comments * fixes * fix migration * ignore sql files * fix comments
This commit is contained in:
committed by
GitHub
parent
d61cbf6f2c
commit
790801b728
@@ -191,7 +191,7 @@ export const cacheMiddleware = (
|
||||
key += JSON.stringify(rawInput).replace(/\"/g, "'");
|
||||
}
|
||||
const cache = await getRedisCache().getJson(key);
|
||||
if (cache) {
|
||||
if (cache && process.env.NODE_ENV === 'production') {
|
||||
return {
|
||||
ok: true,
|
||||
data: cache,
|
||||
|
||||
Reference in New Issue
Block a user