0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-28 13:12:45 +01:00
gitea/routers/common
wxiaoguang fa307167f9
Fix missing images in editor preview due to wrong links (#31299) (#31393)
Backport #31299

Parse base path and tree path so that media links can be correctly
created with /media/.

Resolves #31294

---------

Co-authored-by: Brecht Van Lommel <brecht@blender.org>
2024-06-17 15:07:21 +08:00
..
auth.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
compare.go feat(api): implement branch/commit comparison API (#30349) 2024-04-16 11:45:04 +08:00
db.go Avoid cycle-redirecting user/login page (#28636) 2023-12-30 08:48:34 +00:00
errpage.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
errpage_test.go Clean up template locale usage (#27856) 2023-10-31 22:11:48 +08:00
markup.go Fix missing images in editor preview due to wrong links (#31299) (#31393) 2024-06-17 15:07:21 +08:00
middleware.go Refactor AppURL usage (#30885) (#30891) 2024-05-08 13:34:43 +00:00
middleware_test.go Support sanitising the URL by removing extra slashes in the URL (#21333) 2023-03-04 21:31:24 +08:00
redirect.go Refactor AppURL usage (#30885) (#30891) 2024-05-08 13:34:43 +00:00
serve.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00