You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry if this is not the right place to post this, but I don't know what else this error might refer to, I already tried asking the fastify community on Discord.
I get this error when registering the plugin @fastify/cors :
When using this adapter I am able to get the actual components & pages running, but I am having issues with the static files. That's why I wanted to use fastify.register(..) and also when using fastify.register(cors) I get this same error.
I assume that when using the register it will go automatically to all routes and then has a conflict because this was set before as shown above.
Sorry if this is not the right place to post this, but I don't know what else this error might refer to, I already tried asking the fastify community on Discord.
I get this error when registering the plugin @fastify/cors :
The problem is that I didn't register the route '*' so I don't know how to fix that.
Edit:
I found these pieces of code in your adapter, I think they are causing the error (?)
astro-fastify/lib/index.js
Line 60 in 482d3a3
astro-fastify/lib/server.js
Line 53 in 482d3a3
The text was updated successfully, but these errors were encountered: