Closed joverlee521 closed 2 months ago
Use path-to-regexp for dataset redirects. This allows us to use regex patterns to match datasets and redirect them to a new pattern without having to list out all of the existing paths.
path-to-regexp
Motivated by https://github.com/nextstrain/nextstrain.org/pull/811#issuecomment-2033012211
Description of proposed changes
Use
path-to-regexp
for dataset redirects. This allows us to use regex patterns to match datasets and redirect them to a new pattern without having to list out all of the existing paths.Motivated by https://github.com/nextstrain/nextstrain.org/pull/811#issuecomment-2033012211
Checklist