Skip to content

Commit a6b2ac5

Browse files
committed
Update root route response in server/index.js to provide API documentation link
1 parent 44f0e34 commit a6b2ac5

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

server/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,9 @@ app.use("/user/login", loginLimiter); // Stricter rate limiting for login route
130130

131131
// 3. Route setup
132132
app.get("/", (req, res) => {
133-
res.send("Hello, My lord!");
133+
res.send(
134+
"Welcome to the SkillHub API. Documentation is available at /api-docs."
135+
);
134136
});
135137

136138
// Apply system routes

0 commit comments

Comments
 (0)