Currently, OSM falls back to master as a default branch when a supplied URL doesn't specify one. Since the default was changed from master to main, this fails often and we should account for both (and maybe other) cases. There's probably an API endpoint to get the default branch that we could implement.
Currently, OSM falls back to
master
as a default branch when a supplied URL doesn't specify one. Since the default was changed frommaster
tomain
, this fails often and we should account for both (and maybe other) cases. There's probably an API endpoint to get the default branch that we could implement.