Replies: 2 comments 2 replies
-
Please create an issue for this. This won't be difficult to implement. Feel free to give it a shot if you've got the time. It'll just be extending the |
Beta Was this translation helpful? Give feedback.
2 replies
-
PR has been created: #2436 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
router/packages/start/src/config/index.ts
Line 317 in a42deba
Is there a reason the API handler shares its Vite plugins with the ones for the SSR handler?
I'm trying to find a way to make Cloudflare Bindings work locally. For that, I adapted the
cloudflareDevProxyVitePlugin
that Remix uses and basically inject the Wrangler Context into the H3Event context.But because the plugins are shared, once I use that plugin, while the API routes still work, the regular routes stop working and throw a 404 error. Presumably, because I override the SSR handler with my plugin.
Beta Was this translation helpful? Give feedback.
All reactions