Fixing wrong debug annotation on cache time
This commit is contained in:
parent
be8a2f7b2c
commit
e2f07517fb
@ -17,7 +17,7 @@ import GetRegistrationPage from "./register";
|
|||||||
|
|
||||||
Handlebars.registerHelper("appname", () => config.core.name);
|
Handlebars.registerHelper("appname", () => config.core.name);
|
||||||
|
|
||||||
const cacheTime = config.core.dev
|
const cacheTime = !config.core.dev
|
||||||
? moment.duration(1, "month").asSeconds()
|
? moment.duration(1, "month").asSeconds()
|
||||||
: 1000;
|
: 1000;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user