From e2f07517fb35e5106a2d19378005637627500946 Mon Sep 17 00:00:00 2001 From: Fabian Stamm Date: Fri, 3 Apr 2020 16:34:31 +0200 Subject: [PATCH] Fixing wrong debug annotation on cache time --- src/views/views.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/views.ts b/src/views/views.ts index 44cadfe..1f16e96 100644 --- a/src/views/views.ts +++ b/src/views/views.ts @@ -17,7 +17,7 @@ import GetRegistrationPage from "./register"; Handlebars.registerHelper("appname", () => config.core.name); -const cacheTime = config.core.dev +const cacheTime = !config.core.dev ? moment.duration(1, "month").asSeconds() : 1000;