Update server root message

This commit is contained in:
rui hildt 2020-06-17 13:21:13 +02:00
parent d46a19b424
commit 12ecf719e9

View File

@ -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;