aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2026-06-03 03:10:03 -0700
committerPinapelz <yukais@pinapelz.com>2026-06-03 03:11:52 -0700
commit8aef4deecc0e64ac294331ba1e13d57b7e6b592c (patch)
tree3087e3228b00c7954cc3b126a5978472d84de77e /server
parent19f62be11c87a02b4bf1e24365a8d0629c8b5c66 (diff)
clean up old deployment files
Diffstat (limited to 'server')
-rw-r--r--server/index.ts4
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}`));
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage