forgejo/routers
zeripath a4a6a5987b
Return 404 NotFound if requested attachment does not exist ()
Add code to test if GetAttachmentByID returns an ErrAttachmentNotExist error
and return NotFound instead of InternalServerError

Fix 

Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2022-08-24 13:36:21 +01:00
..
api Return 404 NotFound if requested attachment does not exist () 2022-08-24 13:36:21 +01:00
common Rework raw file http header logic () 2022-07-29 17:26:55 +02:00
install Rework mailer settings () 2022-08-02 13:24:18 +08:00
private Add migrate repo archiver and packages storage support on command line () 2022-08-16 12:05:15 +08:00
utils refactor webhook *NewPost () 2022-08-11 17:48:23 +02:00
web refactor webhook *EditPost () 2022-08-23 02:52:35 -04:00
init.go Refactor legacy git init () 2022-08-09 11:22:24 +08:00