fiberplane / fpx

Supercharge your local development
https://fiberplane.dev
MIT License
43 stars 1 forks source link

Middleware: Fix execution context errors in Node, Deno #80

Closed brettimus closed 1 month ago

brettimus commented 1 month ago

NOTE - This is branched off of #79


We get execution context errors outside of Cloudflare envs (specifically, Deno, Node).

Until we have middleware for different environments, we should try our hardest not to break outside of Cloudflare.

To that end, this PR adds:

brettimus commented 1 month ago

~fix tested with 0.2.1-beta.2 and it works! just need to clean up the code~

cleaned up the code, tested with 0.2.1-beta.4 and it works!