mirror of
https://github.com/R0m1k3/Regisflow.git
synced 2026-10-22 06:38:21 +02:00
Restored to 'afb7a90e0a9fbf19dfd193a47ef6054a853fdd60'
Replit-Restored-To: afb7a90e0a
This commit is contained in:
1 parent
55fb5abd45
commit
04e8eea3bd
12 files changed
+126
-339
No files matched your search
+3
-2
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user