aboutsummaryrefslogtreecommitdiff
path: root/src/index.js
diff options
context:
space:
mode:
authorMark Powers <mark@marks.kitchen>2021-09-02 19:23:11 -0500
committerMark Powers <mark@marks.kitchen>2021-09-02 19:23:11 -0500
commit524e521ad3548934c4effa104eb4ac1299a1816a (patch)
tree641296819bde9fb31c9c9f566c4905b564e81a81 /src/index.js
parentd5f2c72acd877acbb3683b50cfbbe9f3c0d98af3 (diff)
Add function to generate sitemap
Diffstat (limited to 'src/index.js')
-rw-r--r--src/index.js3
1 files changed, 1 insertions, 2 deletions
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);