mirror of
https://github.com/Redume/Kekkai.git
synced 2025-02-23 12:43:12 +03:00
Сделал хоум роут с hello world и ссылкой на доку
This commit is contained in:
parent
20cefebc0d
commit
a697efbbd4
2 changed files with 10 additions and 0 deletions
8
server/routes/home.js
Normal file
8
server/routes/home.js
Normal file
|
@ -0,0 +1,8 @@
|
|||
module.exports = async function getRateRoute(fastify) {
|
||||
fastify.get('/', async function (req, res) {
|
||||
return res.status(200).send({
|
||||
message: 'Hello World!',
|
||||
documentation: 'https://github.com/Redume/Kekkai/wiki/'
|
||||
})
|
||||
});
|
||||
}
|
Loading…
Add table
Reference in a new issue