tRPC + default api routes
Hello,
Using any of the new example repos of Start + tRPC, I cannot also use the default /api
I can see this added to the app.config.js
{ type: 'http', name: 'trpc', base: '/trpc', handler: './src/utils/trpc/trpc-server.handler.ts', target: 'server', plugins: () => [], },however when I try to do something like
{ type: 'http', name: 'api', base: '/api', handler: './src/api.ts', // Use our custom API handler instead of the directory target: 'server', plugins: () => [], },I still can't get it working. Is there a sane way to get both working?
0 Replies