Fixing wrong debug annotation on cache time

This commit is contained in:
Fabian Stamm 2020-04-03 16:34:31 +02:00
parent be8a2f7b2c
commit e2f07517fb

View File

@ -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;