mirror of
https://github.com/Redume/Kekkai.git
synced 2025-02-23 12:43:12 +03:00
eslint fix
This commit is contained in:
parent
9766864dea
commit
a095b4ac8e
2 changed files with 13 additions and 16 deletions
|
@ -34,11 +34,11 @@ fastify.register(configurationRoutes);
|
|||
fastify.register(HomeRoute);
|
||||
|
||||
fastify.setNotFoundHandler(function (res, reply) {
|
||||
return reply.status(404).send({
|
||||
status: 404,
|
||||
message: 'Page not found!',
|
||||
documentation: 'https://kekkai-docs.redume.su/'
|
||||
});
|
||||
return reply.status(404).send({
|
||||
status: 404,
|
||||
message: 'Page not found!',
|
||||
documentation: 'https://kekkai-docs.redume.su/',
|
||||
});
|
||||
});
|
||||
|
||||
fastify.addHook('onResponse', async (request, reply) => {
|
||||
|
|
Loading…
Add table
Reference in a new issue