diff options
Diffstat (limited to 'server/index.ts')
| -rw-r--r-- | server/index.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/index.ts b/server/index.ts index bf4cafd..7b4f1d5 100644 --- a/server/index.ts +++ b/server/index.ts @@ -10,7 +10,7 @@ const app = express(); app.use(cors()); app.use(express.json()); -const PORT = process.env.PORT || 3001; +const SERVER_PORT = process.env.SERVER_PORT || 3001; const SALT = process.env.HEARDLE_SALT ?? 'changeme'; function getDailyKey(): Buffer { @@ -48,4 +48,4 @@ if (process.env.NODE_ENV === 'production') { }); } -app.listen(PORT, () => console.log(`Server running on :${PORT}`)); +app.listen(SERVER_PORT, () => console.log(`Server running on :${SERVER_PORT}`)); |
