mirror of https://github.com/go-gitea/gitea.git
Browse Source
If archive downloads are are disabled using _DISABLE_DOWNLOAD_SOURCE_ARCHIVES_, archive links are still returned by the API. This PR changes the data returned, so the fields _zipball_url_ and _tarball_url_ are omitted if archive downloads have been disabled. Resolve #32159pull/34330/head
2 changed files with 13 additions and 4 deletions
Loading…
Reference in new issue