summary refs log tree commit diff
path: root/src/api/routes/indexRoute.js
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2025-06-02 00:11:34 +0200
committerRory& <root@rory.gay>2025-06-02 00:11:34 +0200
commit8829c1eee38ba32730896a269eadf2631e26db05 (patch)
treefc0b0cd7dd4e0ef88374ef8bb629eeba0d558ae8 /src/api/routes/indexRoute.js
parentAdd sensor history, balance (diff)
downloadnodejs-final-assignment-8829c1eee38ba32730896a269eadf2631e26db05.tar.xz
Add shortcut for generating http file, part of API documentation
Diffstat (limited to 'src/api/routes/indexRoute.js')
-rw-r--r--src/api/routes/indexRoute.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/api/routes/indexRoute.js b/src/api/routes/indexRoute.js

index b6fe28e..0c15b73 100644 --- a/src/api/routes/indexRoute.js +++ b/src/api/routes/indexRoute.js
@@ -7,8 +7,11 @@ export const indexRoute = { path: '/', methods: { get: new RouteMethod({ + description: 'Get the index page (empty)', method(req, res) { - res.send('What art thou doing here???'); + res.send( + "Welcome to SafeNSound! If you're confused, please visit the app instead!" + ); } }) }