mirror of https://github.com/go-gitea/gitea
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>pull/26464/head^2
parent
2eb456dde2
commit
bcccf4c0d6
Loading…
Reference in new issue