From 3be98d0e20911d4aff8015cc7a6f1d0f0f1945c6 Mon Sep 17 00:00:00 2001 From: Alie Date: Wed, 27 Dec 2023 20:38:15 +0100 Subject: [PATCH] fixed a comment position --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index f396445..006cb3d 100644 --- a/src/index.ts +++ b/src/index.ts @@ -17,9 +17,9 @@ app.get("/images", imageController.getAllImages); app.post("/images", authControler.authorize, imageController.addImage); app.post("/login", authControler.login) -// Set the default port to 8080, or use the PORT environment variable const start = async () => { + // Set the default port to 8080, or use the PORT environment variable const port = process.env.PORT || 8080; const mongo_uri: string = process.env.MONGODB_URI || ""; const mongo_user = process.env.MONGODB_USER;