Closed shairez closed 5 months ago
Qwik City (routing)
For some reason, defining the same path 3 times causes the rewrite routes function to throw
I've already added a test to the core that proves that and I'm going to fix it
not relevant
for the following configuration of the qwik-city vite plugin:
rewriteRoutes: [ { prefix: 'de', paths: { produkt: 'produkt', }, }, { prefix: 'no', paths: { produkt: 'produkt', }, }, { prefix: 'fi', paths: { produkt: 'tuote', }, }, ],
The rewriteRoutes function throws an error
No response
fixed by #6377
Which component is affected?
Qwik City (routing)
Describe the bug
For some reason, defining the same path 3 times causes the rewrite routes function to throw
I've already added a test to the core that proves that and I'm going to fix it
Reproduction
not relevant
Steps to reproduce
for the following configuration of the qwik-city vite plugin:
The rewriteRoutes function throws an error
System Info
Additional Information
No response