Update server root message
This commit is contained in:
parent
d46a19b424
commit
12ecf719e9
@ -34,10 +34,11 @@ server.use('/api/possible-dates', possibleDatesRoute);
|
||||
server.use('/api/availability', availabilityRoute);
|
||||
server.use('/api/auth', authRoute);
|
||||
|
||||
server.get('/', (req, res) =>
|
||||
res
|
||||
.status(200)
|
||||
.send('<h2>Welcome to Meeting Planner Backend API service.</h2>'),
|
||||
);
|
||||
server.get("/", (req, res) => {
|
||||
res.json({
|
||||
message: `Meeting Planner Backend API :)`,
|
||||
documentation: `Check out: https://git.armada.digital/meeting-planner/backend`
|
||||
});
|
||||
});
|
||||
|
||||
module.exports = server;
|
||||
|
Loading…
Reference in New Issue
Block a user