From 63668ca89f055b2233a8aa6caf4213853918d68d Mon Sep 17 00:00:00 2001 From: Mark Powers Date: Sun, 15 Nov 2020 21:43:36 -0600 Subject: Switch to handlebars for templating --- src/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/index.js') diff --git a/src/index.js b/src/index.js index 62d8bb5..4b9a3c6 100644 --- a/src/index.js +++ b/src/index.js @@ -100,8 +100,9 @@ function setUpModels(){ } const models = setUpModels(); +const templates = require('./templates'); sync(); -server.setUpRoutes(models, jwtFunctions, database); +server.setUpRoutes(models, jwtFunctions, database, templates.setUpTemplates()); server.listen(config.port); -- cgit v1.2.3