Port changed back to 3000

This commit is contained in:
Lucas Patenaude
2024-04-09 21:10:08 -06:00
parent 28d8fcffc2
commit fd53cdc24f
6 changed files with 49 additions and 42 deletions

View File

@@ -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');