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
Can you provide steps to reproduce? We often need a reproducible example, e.g. some code that allows someone else to recreate your problem by just copying and pasting it. If it involves more than a couple of different file, create a new repository on GitHub and add a link to that.
Prerequisites
Fastify version
5.1.0
Plugin version
10.0.01
Node.js version
22.0.0
Operating system
macOS
Operating system version (i.e. 20.04, 11.3, 10)
Ventura 13.6.6
Description
I'm not 100% sure if this is an issue with fastity/session or fastify/http-proxy.
I can get values from the session on normal routes. For example.
However, when I try in the preHandler in http-proxy plugin, it doesn't return anything, it's undefined.
I'm setting the trustProxy to true, but still nothing. Like I say - all other routes work.
Any ideas?
Link to code that reproduces the bug
No response
Expected Behavior
The session should be available in the preHandler on @fastify-httpproxy
The text was updated successfully, but these errors were encountered: