diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2023-08-12 23:28:35 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-12 15:28:35 +0000 |
commit | bcccf4c0d6149e5e7382226a191abd54848f9416 (patch) | |
tree | b837d0ccd708f80dd33ce69e54ac87394bc7e0b9 /cmd/web.go | |
parent | 2eb456dde21b51be4cfeb185193cdcfd2a66f315 (diff) | |
download | gitea-bcccf4c0d6149e5e7382226a191abd54848f9416.tar.gz gitea-bcccf4c0d6149e5e7382226a191abd54848f9416.zip |
Remove last newline from config file (#26468)
When users put the secrets into a file (GITEA__sec__KEY__FILE), the
newline sometimes is different to avoid (eg: echo/vim/...)
So the last newline could be removed when reading, it makes the users
easier to maintain the secret files.
Co-authored-by: Giteabot <teabot@gitea.io>
Diffstat (limited to 'cmd/web.go')
0 files changed, 0 insertions, 0 deletions