host fix >:(

This commit is contained in:
Lewis Crichton
2023-02-16 22:45:06 +00:00
parent bceacd5a71
commit 047afcb728
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -1,4 +1,5 @@
PORT=8080 PORT=8080
HOST=0.0.0.0
REDIS_URI=redis://localhost:6379 REDIS_URI=redis://localhost:6379
DISCORD_CLIENT_ID= DISCORD_CLIENT_ID=
+1 -1
View File
@@ -189,4 +189,4 @@ fastify.get("/callback", async (request, response) => {
fastify.get("/", () => ({ shiggy: true })); fastify.get("/", () => ({ shiggy: true }));
await fastify.listen({ port: parseInt(process.env.PORT!) }); await fastify.listen({ host: process.env.HOST!, port: parseInt(process.env.PORT!) });