mirror of
https://github.com/Redume/Kekkai.git
synced 2025-02-23 12:43:12 +03:00
feat(server): Made a new Root with available currencies to collect and first and last collection date
This commit is contained in:
parent
fff7cebdb7
commit
9bc6c0a203
3 changed files with 31 additions and 0 deletions
|
@ -21,9 +21,11 @@ const fastify = require("fastify")({
|
|||
|
||||
const getRateRoute = require("./routes/getRate.js");
|
||||
const HomeRoute = require("./routes/home.js");
|
||||
const getMetadata = require("./routes/metadata.js");
|
||||
|
||||
fastify.register(getRateRoute);
|
||||
fastify.register(HomeRoute);
|
||||
fastify.register(getMetadata);
|
||||
|
||||
fastify.setNotFoundHandler(function (res, reply) {
|
||||
return reply.status(404).send({
|
||||
|
|
Loading…
Add table
Reference in a new issue