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

Add support for params for redirect #157

Open
Mujib517 opened this issue Nov 24, 2021 · 3 comments
Open

Add support for params for redirect #157

Mujib517 opened this issue Nov 24, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@Mujib517
Copy link

@joeldenning is it possible to add support for route params for redirect component? Currently redirect takes a static string and routes the request but when I have a route param it doesn't take that into consideration.

    <route default>
      <application name="@single-spa/welcome"></application>
    </route>
    <route path="app1">
      <application name="@org/app1"></application>
    </route>
    <route path="app2">
      <application name="@org/app2"></application>
    </route>
    <redirect from="/old-app/:id" to="/app1/xyz/:id"></redirect>
@MilanKovacic MilanKovacic added the enhancement New feature or request label Sep 29, 2023
@devprasenjitsaha
Copy link

Any update on this? If not, then how can we overcome this situation?

@nklowns
Copy link

nklowns commented Nov 6, 2024

Hi, I'd love to be able to map old urls with wildcards.

@joeldenning
Copy link
Member

I agree params would be a good feature to add for redirects

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants