From 84fa92425b7676ff484c8d080b91a98da187904e Mon Sep 17 00:00:00 2001 From: Gianfranco Rusca Date: Tue, 7 May 2019 16:04:44 +0200 Subject: [PATCH] fixed typo in seed.js --- bin/seed.js | 2 +- bin/www | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/seed.js b/bin/seed.js index 1e8cd57..75b4229 100644 --- a/bin/seed.js +++ b/bin/seed.js @@ -2,7 +2,7 @@ const mongoose = require('mongoose'); -const Restaurant = require('../models/restaurants'); +const Restaurant = require('../models/restaurant'); mongoose.connect('mongodb://localhost/mapbox-example', { keepAlive: true, diff --git a/bin/www b/bin/www index 2152688..a9b9093 100755 --- a/bin/www +++ b/bin/www @@ -12,7 +12,7 @@ var http = require('http'); * Get port from environment and store in Express. */ -var port = normalizePort(process.env.PORT || '3000'); +var port = normalizePort(process.env.PORT || '3015'); app.set('port', port); /**