mirror of
https://github.com/KevinMidboe/seasonedRequest.git
synced 2025-10-29 09:50:14 +00:00
Added filtering of requested movies. Also change the order of movies in sidebar and added support for rating of movie. Change path destinations to be more clear.
This commit is contained in:
@@ -5,19 +5,17 @@ var history = require('connect-history-api-fallback');
|
||||
app = express();
|
||||
|
||||
app.use('/dist', express.static(path.join(__dirname + "/dist")));
|
||||
app.use('/dist', express.static(path.join(__dirname + "/dist/")));
|
||||
app.use('/favicons', express.static(path.join(__dirname + "/favicons")));
|
||||
app.use(history({
|
||||
index: '/'
|
||||
}));
|
||||
|
||||
|
||||
var port = process.env.PORT || 5000;
|
||||
|
||||
app.get('/', function(req, res) {
|
||||
res.sendFile(path.join(__dirname + '/index.html'));
|
||||
});
|
||||
|
||||
|
||||
|
||||
app.listen(port);
|
||||
console.log('server started '+ port);
|
||||
Reference in New Issue
Block a user