api routes in solid start
Hi, is it possible to create an api route in solid start with tanstack router? when i add api folder with firebase-handler.ts i get populated with import { createFileRoute } from '@tanstack/solid-router'
export const Route = createFileRoute('/api/firebase-handler')({
component: RouteComponent,
})
function RouteComponent() {
return <div>Hello "/api/firebase-handler"!</div>
}
and i get 503 error, there is nothing in the docs about api routes, thanks.
export const Route = createFileRoute('/api/firebase-handler')({
component: RouteComponent,
})
function RouteComponent() {
return <div>Hello "/api/firebase-handler"!</div>
}
and i get 503 error, there is nothing in the docs about api routes, thanks.