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

Make general dc path less important #610

Merged
merged 2 commits into from
Jul 4, 2023

Conversation

John-Holt-Tessella
Copy link
Contributor

The path for DC page was made general so that it could accept arguments in any order but having done this it now takes the path from other routes. Move it doen the routing table so it matches last instead of first.

@gfrn
Copy link
Collaborator

gfrn commented Jul 3, 2023

Works on my local deployment, however, we might need to make the path regular expression less generic so this isn't a problem in the future (maybe even write some tests for it!)

@John-Holt-Tessella
Copy link
Contributor Author

OK, will create ticket to write tests, not sure that the reg ex can be less because it is matching every segment of the path which some parts can have any values

@John-Holt-Tessella John-Holt-Tessella merged commit 73a5133 into prerelease Jul 4, 2023
2 checks passed
@John-Holt-Tessella John-Holt-Tessella deleted the fix_path_order_for_dc branch July 4, 2023 09:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants