gitea/routers/common
Brecht Van Lommel 597d1da96b
Fix missing images in editor preview due to wrong links (#31299)
Parse base path and tree path so that media links can be correctly
created with /media/.

Resolves #31294

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2024-06-17 14:16:14 +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_test.go Clean up template locale usage (#27856) 2023-10-31 22:11:48 +08:00
errpage.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
markup.go Fix missing images in editor preview due to wrong links (#31299) 2024-06-17 14:16:14 +08:00
middleware_test.go Fix duplicate sub-path for avatars (#31365) 2024-06-15 11:43:57 +08:00
middleware.go Fix duplicate sub-path for avatars (#31365) 2024-06-15 11:43:57 +08:00
redirect.go Refactor AppURL usage (#30885) 2024-05-07 08:26:13 +00:00
serve.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00