fixed a comment position
This commit is contained in:
parent
9e064fc56e
commit
3be98d0e20
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue