Restored to 'afb7a90e0a9fbf19dfd193a47ef6054a853fdd60'

Replit-Restored-To: afb7a90e0a
This commit is contained in:
michaelschal committed 2025-07-13 13:04:02 +00:00
1 parent 55fb5abd45
commit 04e8eea3bd
12 files changed
+126 -339

No files matched your search

+3 -2
View File
@@ -58,9 +58,10 @@ app.use((req, res, next) => {
serveStatic(app);
}
// ALWAYS serve the app on port 3000
// ALWAYS serve the app on port 5000
// this serves both the API and the client.
const port = process.env.PORT ? parseInt(process.env.PORT) : 3000;
// It is the only port that is not firewalled.
const port = 5000;
server.listen({
port,
host: "0.0.0.0",