From 524e521ad3548934c4effa104eb4ac1299a1816a Mon Sep 17 00:00:00 2001 From: Mark Powers Date: Thu, 2 Sep 2021 19:23:11 -0500 Subject: Add function to generate sitemap --- src/index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/index.js') diff --git a/src/index.js b/src/index.js index 7ceecf0..c2ad0c1 100644 --- a/src/index.js +++ b/src/index.js @@ -59,7 +59,7 @@ function setUpModels(){ }, likes: { type: Sequelize.INTEGER, - } + }, }), "pictures": database.define('pictures', { source: { type: Sequelize.TEXT, allowNull: false}, @@ -109,7 +109,6 @@ function setUpModels(){ const models = setUpModels(); const templates = require('./templates'); sync(); - server.setUpRoutes(models, jwtFunctions, database, templates.setUpTemplates()); server.listen(config.port); -- cgit v1.2.3