diff --git a/bin/www b/bin/www index 87ffb43..d2484eb 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 || '80'); app.set('port', port); /** diff --git a/routes/index.js b/routes/index.js index ffb9b9e..9bfe60f 100644 --- a/routes/index.js +++ b/routes/index.js @@ -11,9 +11,6 @@ var info = mongoose.model('currentdata'); require("../models/temperature"); var temperature = mongoose.model('temperature'); -require('../models/posts'); -var posts = mongoose.model('posts'); - router.get('/discord', function(req, res, next) { res.redirect('https://discord.gg/0Z2tzxKECEj2BHwj');