From d7c46a9eae28046bb26da182abc298dc18ed5a10 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Sun, 23 Mar 2025 01:39:11 -0400 Subject: Replacing Astro with Next.JS; Prefix warning; Consistent env vars --- bot/src/api/server.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bot/src/api/server.js') diff --git a/bot/src/api/server.js b/bot/src/api/server.js index 74d8511..15211eb 100644 --- a/bot/src/api/server.js +++ b/bot/src/api/server.js @@ -74,8 +74,8 @@ export const apiServer = (client) => { }); // Start the server - app.listen(process.env.port, () => { - console.log(`[i] Starting API at http://localhost:${process.env.port}`); + app.listen(process.env.PORT, () => { + console.log(`[i] Starting API at http://localhost:${process.env.PORT}`); }); }; -- cgit v1.2.3