mirror of
https://github.com/mgerb/mywebsite
synced 2026-01-11 02:12:53 +00:00
fixed models
This commit is contained in:
2
bin/www
2
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);
|
||||
|
||||
/**
|
||||
|
||||
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user