From 3032d147fd6af40533f88b693d7d2fabb0ed78d0 Mon Sep 17 00:00:00 2001 From: Errietta Kostala Date: Sun, 3 Jun 2018 20:08:36 +0100 Subject: [PATCH] and, don't apply auth to static files.. --- src/app.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app.ts b/src/app.ts index a08edbd..0a4d394 100644 --- a/src/app.ts +++ b/src/app.ts @@ -33,10 +33,11 @@ class App { this.setUploadMiddleware(); this.mountHomeRoute(); - this.mountRoutes(); this.setStatic(); this.setViewEngine(); + this.mountRoutes(); + this.initConfig(); }