We are launching a docker version (server version) today so we want to just organize the repo so its easier to navigate.
8 lines
218 B
TypeScript
8 lines
218 B
TypeScript
import { FastifyInstance } from "fastify";
|
|
import * as controller from "./rpc.controller";
|
|
|
|
async function rpcRoutes(fastify: FastifyInstance) {
|
|
fastify.post("/rpc", controller.setRPC);
|
|
}
|
|
|
|
export default rpcRoutes; |