diff options
| author | Pinapelz <yukais@pinapelz.com> | 2026-06-03 03:10:03 -0700 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2026-06-03 03:11:52 -0700 |
| commit | 8aef4deecc0e64ac294331ba1e13d57b7e6b592c (patch) | |
| tree | 3087e3228b00c7954cc3b126a5978472d84de77e /server/index.ts | |
| parent | 19f62be11c87a02b4bf1e24365a8d0629c8b5c66 (diff) | |
clean up old deployment files
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}`)); |
