diff options
author | Unknwon <u@gogs.io> | 2016-07-04 17:27:06 +0800 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2016-07-04 17:27:06 +0800 |
commit | 4b25bdfbc45479d64e3ffb04abbd08672ccc47fb (patch) | |
tree | bbede594875a146bf4c34ce2760202cffe6aeb33 /conf/app.ini | |
parent | 528682a294834611a95b2cf6c80efdccdf6fd791 (diff) | |
download | gitea-4b25bdfbc45479d64e3ffb04abbd08672ccc47fb.tar.gz gitea-4b25bdfbc45479d64e3ffb04abbd08672ccc47fb.zip |
#3058 #3059 support correct page size and link header
Diffstat (limited to 'conf/app.ini')
-rw-r--r-- | conf/app.ini | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/conf/app.ini b/conf/app.ini index d99b04cc5d..755041cfe2 100644 --- a/conf/app.ini +++ b/conf/app.ini @@ -345,6 +345,10 @@ MIRROR = 300 CLONE = 300 PULL = 300 +[api] +; Max number of items will response in a page +MAX_RESPONSE_ITEMS = 50 + [i18n] LANGS = en-US,zh-CN,zh-HK,zh-TW,de-DE,fr-FR,nl-NL,lv-LV,ru-RU,ja-JP,es-ES,pt-BR,pl-PL,bg-BG,it-IT,fi-FI,tr-TR,cs-CZ NAMES = English,简体中文,繁體中文(香港),繁體中文(台湾),Deutsch,Français,Nederlands,Latviešu,Русский,日本語,Español,Português do Brasil,Polski,български,Italiano,Suomalainen,Türk,čeština |