v1.0.0 #28

Merged
bizcochito merged 147 commits from develop into main 2024-01-14 19:49:34 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 3be98d0e20 - Show all commits

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;