Closed ZeldOcarina closed 1 year ago
astro
latest
No
npm
Mac
Chrome
I have a tried a clean install of Astro with npm create astro@latest but I just cannot get my middleware.ts to run.
middleware.ts
I need to pass to components some context data and perform some global transformations on my response data but cannot do that.
Middleware running correctly. Not flagging willing to submit a pull request as I would not know where to start from.
https://github.com/ZeldOcarina/astro-middleware-bug
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