Adding url redirect rules to the linked-storage.json meta item causes those redirect rules to be honoured when fetching tiles for any commit that includes the new linked-storage.json.
However, this won't help when fetching tiles for older commits which were created before the redirect rules were added. The fix will be to add logic such that Kart finds redirect rules from a newer commit even when fetching tiles when checking out an older commit.
TODO in later PRs:
TODO: add logic such that Kart finds redirect rules from newer commits.
TODO: add a command for setting up redirect rules - right now there is just kart meta set which is pretty bare bones.
Adding url redirect rules to the linked-storage.json meta item causes those redirect rules to be honoured when fetching tiles for any commit that includes the new linked-storage.json.
However, this won't help when fetching tiles for older commits which were created before the redirect rules were added. The fix will be to add logic such that Kart finds redirect rules from a newer commit even when fetching tiles when checking out an older commit.
TODO in later PRs: TODO: add logic such that Kart finds redirect rules from newer commits. TODO: add a command for setting up redirect rules - right now there is just
kart meta set
which is pretty bare bones.Related links:
https://github.com/koordinates/kart/issues/905
Checklist: