mirror of
https://github.com/go-gitea/gitea
synced 2025-02-05 06:24:28 +00:00
The same logic was duplicated in three places. Factor it out so that we can add further fallbacks in a single place.
The same logic was duplicated in three places. Factor it out so that we can add further fallbacks in a single place.