4 Commits

Author SHA1 Message Date
Lunny Xiao
cb812144b5
create temp root directory when startup 2024-10-27 17:58:07 -07:00
Lunny Xiao
30621ae207
Move all temporary directories under gitea and cleanup it when Gitea start 2024-10-27 17:30:20 -07:00
Lunny Xiao
7b0f3e6473
uniform all temporary directories 2024-10-27 15:49:01 -07:00
wxiaoguang
84cbb6c4d2
Fix duplicate sub-path for avatars (#31365)
Fix #31361, and add tests

And this PR introduces an undocumented & debug-purpose-only config
option: `USE_SUB_URL_PATH`. It does nothing for end users, it only helps
the development of sub-path related problems.

And also fix #31366

Co-authored-by: @ExplodingDragon
2024-06-15 11:43:57 +08:00