fixed a comment position

This commit is contained in:
Alie 2023-12-27 20:38:15 +01:00
parent 9e064fc56e
commit 3be98d0e20
1 changed files with 1 additions and 1 deletions

View File

@ -17,9 +17,9 @@ app.get("/images", imageController.getAllImages);
app.post("/images", authControler.authorize, imageController.addImage); app.post("/images", authControler.authorize, imageController.addImage);
app.post("/login", authControler.login) app.post("/login", authControler.login)
// Set the default port to 8080, or use the PORT environment variable
const start = async () => { const start = async () => {
// Set the default port to 8080, or use the PORT environment variable
const port = process.env.PORT || 8080; const port = process.env.PORT || 8080;
const mongo_uri: string = process.env.MONGODB_URI || ""; const mongo_uri: string = process.env.MONGODB_URI || "";
const mongo_user = process.env.MONGODB_USER; const mongo_user = process.env.MONGODB_USER;