Skip to content
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

Imposible redirect to an external address in page middleware #14067

Closed
cawa-93 opened this issue Jun 1, 2022 · 0 comments · Fixed by nuxt/framework#5022
Closed

Imposible redirect to an external address in page middleware #14067

cawa-93 opened this issue Jun 1, 2022 · 0 comments · Fixed by nuxt/framework#5022

Comments

@cawa-93
Copy link
Contributor

cawa-93 commented Jun 1, 2022

Environment


  • Operating System: Linux
  • Node Version: v16.15.0
  • Nuxt Version: 3.0.0-rc.3-27567768.c1f728e
  • Package Manager: [email protected]
  • Builder: vite
  • User Config: telemetry, modules, trpc, typescript, runtimeConfig, css
  • Runtime Modules: [email protected]
  • Build Modules: -

Reproduction

https://stackblitz.com/edit/github-qchxta?file=pages/awesome-nuxt.vue

Describe the bug

There seems to be no way to redirect to an external resource in the middle of the meddleware. navigateTo` doesn't support external URLs

Additional context

No response

Logs

No response

@cawa-93 cawa-93 changed the title Imposible redirect to an external address in page meddleware Imposible redirect to an external address in page middleware Jun 1, 2022
@danielroe danielroe added the 3.x label Jan 19, 2023
@danielroe danielroe transferred this issue from nuxt/framework Jan 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants