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-04-17 11:37:23 +08:00
2023-01-05 13:58:51 +02:00
2023-05-21 22:35:11 +00:00
2023-02-11 08:39:50 +08:00
2022-12-30 23:31:00 +08:00