mirror of
https://github.com/gogs/gogs.git
synced 2025-05-31 11:42:13 +00:00
## Describe the pull request A simple fix in public/js/gogs.js making bug upload not result in a timeout (added just one line) Link to the issue: closes https://github.com/gogs/gogs/issues/6149 ## Test plan - Set the max_size of `attachment` to a high number ```toml [release.attachment] ENABLED = true ALLOWED_TYPES = */* MAX_SIZE = 512 MAX_FILES = 20 ``` - Upload a file to releases  It doesn't randomly timeout!