From d3bb042f43d0378fcc31d4933b4e8d83645240cd Mon Sep 17 00:00:00 2001 From: nin0dev Date: Thu, 20 Jun 2024 08:36:10 -0400 Subject: [PATCH] Added .env --- src/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.ts b/src/index.ts index 990c3b8..01fb008 100644 --- a/src/index.ts +++ b/src/index.ts @@ -4,10 +4,10 @@ import dotenv from "dotenv"; dotenv.config(); const app: Express = express(); -const port = 23758; +const port = process.env.PORT; app.get("/", (req: Request, res: Response) => { - res.send("Hey! This is the interaction server for my custom bot."); + res.send({ "type": 1 }); }); app.listen(port, () => {