gogs/public
MarcUs7i b59e943aa6
Set timeout to explicit 0 in gogs.js ()
## 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


![image](https://github.com/user-attachments/assets/8cf29c73-c8ec-42a3-9660-681a583b577a)

It doesn't randomly timeout!
2025-01-01 19:41:24 -05:00
..
assets
css
img refactor(db): migrate avatar methods off `user.go` () 2022-10-23 20:54:16 +08:00
js Set timeout to explicit 0 in gogs.js () 2025-01-01 19:41:24 -05:00
less
plugins chore: update version of mermaid to 10.9.1 () 2024-06-08 12:57:00 -04:00
embed.go