0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-17 00:24:46 +01:00
gitea/modules/setting
Gusted b7c6ec91ba
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>
2022-07-13 13:33:31 +08:00
..
attachment.go
cache.go
cors.go
cron_test.go
cron.go
database_sqlite.go
database_test.go
database.go Use default values when provided values are empty (#20318) 2022-07-13 13:33:31 +08:00
directory.go
federation.go
git.go
i18n.go
indexer_test.go
indexer.go
lfs.go
log.go
mailer.go
markup.go
migrations.go
mime_type_map.go
mirror.go
oauth2_client.go
packages.go
picture.go
project.go
proxy.go
queue.go
repository.go
service.go
session.go
setting_test.go
setting.go
storage_test.go
storage.go
task.go
webhook.go