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
I'm currently attempting to mount my main server app within another app. This is in a "universal/isomorphic" project where one requirement is hot reloading for the server code as well as client code -- mounting the main app achieves this nicely.
One problem I'm facing, is that the middleware of the mounted app such as "compress" are not being applied, despite this mounted app is responsible for handling the requests and serving assets. Also I've had to add app.keys to the parent app for the session to work as expected.
Is this a bug, or is my attempted architecture just too strange?
I'm currently attempting to mount my main server app within another app. This is in a "universal/isomorphic" project where one requirement is hot reloading for the server code as well as client code -- mounting the main app achieves this nicely.
One problem I'm facing, is that the middleware of the mounted app such as "compress" are not being applied, despite this mounted app is responsible for handling the requests and serving assets. Also I've had to add
app.keys
to the parent app for the session to work as expected.Is this a bug, or is my attempted architecture just too strange?
Here's the code:
https://github.com/tomatau/breko-hub/blob/master/scripts/dev.js#L44
The text was updated successfully, but these errors were encountered: