diff options
author | Gusted <williamzijl7@hotmail.com> | 2022-07-13 05:33:31 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-13 13:33:31 +0800 |
commit | b7c6ec91bac5ab0a5382f99a72753574dbc41745 (patch) | |
tree | 009a8a25671a874f8d9cadd4583eca316fe4dacb /templates/repo | |
parent | f67a1030b308a24cca13ff788f7b7119f0404580 (diff) | |
download | gitea-b7c6ec91bac5ab0a5382f99a72753574dbc41745.tar.gz gitea-b7c6ec91bac5ab0a5382f99a72753574dbc41745.zip |
Use default values when provided values are empty (#20318)
* Use default values when provided values are empty
- When provided values are empty like `:3000` would imply that host is
empty, use the default value.
- Resolves #20316
* Update database.go
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'templates/repo')
0 files changed, 0 insertions, 0 deletions