OhMyDitzzy
commited on
Commit
·
67d5038
1
Parent(s):
f7d65f7
Add auto domain in api/data
Browse files
src/server/plugins/data.js
CHANGED
|
@@ -7,7 +7,7 @@ const handler = {
|
|
| 7 |
exec: async (req, res) => {
|
| 8 |
res.json({
|
| 9 |
status: 200,
|
| 10 |
-
message:
|
| 11 |
})
|
| 12 |
}
|
| 13 |
}
|
|
|
|
| 7 |
exec: async (req, res) => {
|
| 8 |
res.json({
|
| 9 |
status: 200,
|
| 10 |
+
message: `Welcome to DitzzyAPI, Lets get started by visit our documentation on: ${req.protocol}://${req.hostname}/docs`
|
| 11 |
})
|
| 12 |
}
|
| 13 |
}
|