How to ensure Server Middleware gets included in .nuxt Bundle Directory #2181
Unanswered
torressam333
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Can anyone explain a way to manually add the server middleware into the bundle that goes out with the .nuxt directory? I am trying to deploy my application but am convinced that SM dir is never included as I am not able to hit the REST endpoints created inside of that dir. I have the
serverMiddleware[]
properly described in mynuxt.config.js
file and have the api calls' working locally.I am on Nuxt 2.15.8.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions