nuxt-community / redirect-module

No more cumbersome redirects for Nuxt 2!
MIT License
312 stars 17 forks source link

Not working on bridge #125

Open yoshrubin opened 1 year ago

yoshrubin commented 1 year ago

I am getting

 ERROR  [h3] [unhandled] next is not a function                                 12:29:56

  at Object.redirectRoute [as handler] (node_modules/@nuxtjs/redirect-module/lib/middleware.js:15:14)
  at Object.handler (node_modules/h3/dist/index.mjs:723:31)
  at processTicksAndRejections (internal/process/task_queues.js:95:5)
  at async toNodeHandle (node_modules/nuxi/dist/chunks/index2.mjs:994:7)

when using nuxt-bridge will this ever be handled and are there any good alternative approaches I should use to bypass the need for this module?