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

Resolve dynamic redirect path #207

Open
thomasdigby opened this issue Jul 4, 2017 · 0 comments
Open

Resolve dynamic redirect path #207

thomasdigby opened this issue Jul 4, 2017 · 0 comments
Milestone

Comments

@thomasdigby
Copy link
Contributor

Expected behaviour

Redirecting to another URL will retain the path/query/hash data from the previous route.

{
  redirectPaths: {
    '/route/{param}': '/new-route/{param}'
  },
  siteUrl: 'https://some-url.com'
}

Actual behaviour

New route renders as a static string, the previous example will resolve to siteurl.com/new-route/%7Bparam%7D

@thomasdigby thomasdigby added this to the v2 milestone Jul 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant