We are launching a docker version (server version) today so we want to just organize the repo so its easier to navigate.
8 lines
219 B
TypeScript
8 lines
219 B
TypeScript
import { FastifyInstance } from 'fastify';
|
|
import { handleProxy } from './proxy.controller';
|
|
|
|
async function proxyRoutes(fastify: FastifyInstance) {
|
|
fastify.get('/proxy', handleProxy);
|
|
}
|
|
|
|
export default proxyRoutes; |