Skip to content

Commit

Permalink
Update app.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ExtranoDev authored Sep 22, 2023
1 parent 8f1ec07 commit 18f48bd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ app.use('/api/organization', orgRoutes);
app.use('/api/lunch', lunchRoutes);
app.use('/api/withdrawals', withDrawalRoute);

app.use('/', (req, res) => {
res.status(200).send(`<h1>Welcome to Team Lightning Free Lunch App</h1>
<br><p><a href=''>Click here</a> to go to the API doc<p>`)
})

// Middlewares
app.use(errorHandlerMiddleware);
app.use(notFound);
Expand Down

0 comments on commit 18f48bd

Please sign in to comment.