main
registerApp
export const registerApp = async (app: FastifyInstance) => { await app.register(cors, { origin: true, });