Closed carlosvaldesweb closed 11 months ago
hmm, apparently after build process.nitro
is true whether you are in SSR or in a server api route, but during dev it differentiates between the two so I thought I could count on it. Not sure how to check if in a context of server api routes now.
Hello, when i make
npm run build
to test app like to deploy, andnode .output/server/index.mjs
i'm getting 500 useEvent is not defined, from $larafetch.I'm looking that in nuxt.config.ts we have
And in the useEvent nitro docs says that we need nitro key in nuxt.config.ts, but it doesn't work yet:
If i remove all 'event' references from $larafetch it works correctly.