Quasar2 ssr/expressjs api reload problem #12854
Unanswered
mirkofisic
asked this question in
CLI - SSR mode
Replies: 2 comments 3 replies
-
Have you looked at the errors and the content of the files being served up, from the browser? |
Beta Was this translation helpful? Give feedback.
1 reply
-
I suspect that index.html is being served up for all requests. Are you using nginx, apache or how is your server configured to serve up your files? More information the better. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I use SSR mode in which I set ssr middleware, I use app (Expressjs to create my API, app.get, app.post) and everything is ok but if in some request handler eg: app.post ('/api/user/ create ', (req, res, next) => { // whatever I chnaged }) change anything, quasar automatically refreshes the entire application but something breaks on the client side and every time I have to stop the server and run again quasar dev -m ssr and then it works again until the next change inside ssr middlware:
here is terminal log:
I don't get any error, does anyone have any idea where the problem is here?
Beta Was this translation helpful? Give feedback.
All reactions