mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-07-15 05:01:41 +08:00
improve the releases api paging (#5831)
* improve the releases api paging * add max limit on API paging
This commit is contained in:
@ -557,9 +557,11 @@ var (
|
||||
API = struct {
|
||||
EnableSwagger bool
|
||||
MaxResponseItems int
|
||||
DefaultPagingNum int
|
||||
}{
|
||||
EnableSwagger: true,
|
||||
MaxResponseItems: 50,
|
||||
DefaultPagingNum: 30,
|
||||
}
|
||||
|
||||
U2F = struct {
|
||||
|
Reference in New Issue
Block a user