Port changed back to 3000
This commit is contained in:
@@ -88,6 +88,15 @@ app.use(fetchMatchesData);
|
||||
const convert_time = require('./resources/js/navigation-bar/scoreboard-header/convert-time');
|
||||
app.use(convert_time);
|
||||
|
||||
/************************
|
||||
Homepage Routes
|
||||
*************************/
|
||||
|
||||
const { app, redirectToLeaguePage } = require('ProjectSourceCode/src/resources/js/homepage/create-league-routes.js');
|
||||
|
||||
// Serve static files
|
||||
app.use(express.static('public'));
|
||||
|
||||
|
||||
/************************
|
||||
Login Page Routes
|
||||
@@ -175,5 +184,5 @@ app.get('/', (req, res) => {
|
||||
// <!-- Section 5 : Start Server-->
|
||||
// *****************************************************
|
||||
// starting the server and keeping the connection open to listen for more requests
|
||||
app.listen(3001);
|
||||
app.listen(3000);
|
||||
console.log('Server is listening on port 3000');
|
||||
Reference in New Issue
Block a user