Skip to content

Commit

Permalink
Added backend module.export
Browse files Browse the repository at this point in the history
  • Loading branch information
thedignifiedco committed Sep 18, 2024
1 parent bc2e3d4 commit ecc29bd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions logistics-backend/src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,5 @@ const connectToDatabase = async () => {
connectToDatabase().then(() => {
app.listen(PORT, () => console.log(`Server running on port ${PORT}`));
});

module.exports = app;
3 changes: 1 addition & 2 deletions logistics-backend/vercel.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,4 @@
"dest": "dist/server.js"
}
]
}

}

0 comments on commit ecc29bd

Please sign in to comment.