Giteabot 80d7288ea4
Remove last newline from config file (#26468) (#26471)
Backport #26468 by @wxiaoguang

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: wxiaoguang <wxiaoguang@gmail.com>
2023-08-13 00:19:33 +08:00
..
2023-05-08 19:49:59 +08:00
2023-04-13 15:45:33 -04:00
2023-02-20 16:18:26 -06:00
2023-05-31 02:07:04 +00:00