remove condition block for swagger api
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
682c096764
commit
e0072f7679
|
@ -251,15 +251,11 @@ DEFAULT_INTERVAL = {{ gitea_mirror_default_interval }}
|
|||
MIN_INTERVAL = {{ gitea_mirror_min_interval }}
|
||||
|
||||
[api]
|
||||
{% if gitea_api_swagger_enabled | bool %}
|
||||
ENABLE_SWAGGER = true
|
||||
ENABLE_SWAGGER = {{ gitea_api_swagger_enabled | bool | lower }}
|
||||
MAX_RESPONSE_ITEMS = 50
|
||||
DEFAULT_PAGING_NUM = {{ gitea_api_default_paging_num }}
|
||||
DEFAULT_GIT_TREES_PER_PAGE = {{ gitea_api_default_git_trees_per_page }}
|
||||
DEFAULT_MAX_BLOB_SIZE = 10485760
|
||||
{% else %}
|
||||
ENABLE_SWAGGER = false
|
||||
{% endif %}
|
||||
|
||||
{% if gitea_oauth_provider_enabled | bool %}
|
||||
[oauth2]
|
||||
|
|
Loading…
Reference in New Issue