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/availability', availabilityRoute);
|
||||||
server.use('/api/auth', authRoute);
|
server.use('/api/auth', authRoute);
|
||||||
|
|
||||||
server.get('/', (req, res) =>
|
server.get("/", (req, res) => {
|
||||||
res
|
res.json({
|
||||||
.status(200)
|
message: `Meeting Planner Backend API :)`,
|
||||||
.send('<h2>Welcome to Meeting Planner Backend API service.</h2>'),
|
documentation: `Check out: https://git.armada.digital/meeting-planner/backend`
|
||||||
);
|
});
|
||||||
|
});
|
||||||
|
|
||||||
module.exports = server;
|
module.exports = server;
|
||||||
|
Loading…
Reference in New Issue
Block a user