feat(server): Made a new Root with available currencies to collect and first and last collection date

This commit is contained in:
Данил 2025-01-17 15:11:29 +03:00
parent fff7cebdb7
commit 9bc6c0a203
3 changed files with 31 additions and 0 deletions

View file

@ -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({