withastro / astro

The web framework for content-driven websites. ⭐️ Star to support our work!
https://astro.build
Other
46.23k stars 2.44k forks source link

Middleware intermittently not working on iOS/ARM #8191

Closed ZeldOcarina closed 1 year ago

ZeldOcarina commented 1 year ago

What version of astro are you using?

latest

Are you using an SSR adapter? If so, which one?

No

What package manager are you using?

npm

What operating system are you using?

Mac

What browser are you using?

Chrome

Describe the Bug

I have a tried a clean install of Astro with npm create astro@latest but I just cannot get my middleware.ts to run.

I need to pass to components some context data and perform some global transformations on my response data but cannot do that.

What's the expected result?

Middleware running correctly. Not flagging willing to submit a pull request as I would not know where to start from.

Link to Minimal Reproducible Example

https://github.com/ZeldOcarina/astro-middleware-bug

Participation