-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to Pass Data to Fastboot through Middleware #17
Comments
Can't you pass through on the request object? If you add something to the request, you also have access to that within your fastboot ember application. Not sure if i'm getting the wrong end of the stick about the use case though. |
@vkoves Were you able to figure this one out? I'm in a position where I need to pass the IP address of the client into fastboot as well! |
@joshkg This was a while ago, I think we weren't able to do it and didn't do anything further with this. |
It looks like the In my case, I would like to know if the request was made from a mobile browser. I already have |
I was working on a feature that used an npm package to get the IP address of a client conncting to the Fastboot server, which was configured as a middleware in
fastboot-server.js
, which initializes Fastboot using this middleware. However, it appears that there is no way to pass data to Fastboot through fastboot-express-middleware, which makes it very challenging to extend Fastboot using other middlewares.Let me know if you need more information about my use case, but overall I think it would be important to maintain modularity by allowing information to be passed into Fastboot through this middleware.
The text was updated successfully, but these errors were encountered: