mirror of
https://github.com/gogs/gogs.git
synced 2026-03-29 16:20:26 +02: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.