pages-server/server/handler
jklippel caeb1a4acb Return a 404 if there is no repository (#141)
If no repository is found the user expects a 404 status code
instead of a dependency failed status code (as it was before).

Signed-off-by: Jan Klippel <c0d3b3rg@kl1pp3l.de>

Fixes: https://codeberg.org/Codeberg/Community/issues/809

Co-authored-by: Jan Klippel <c0d3b3rg@kl1pp3l.de>
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/141
Reviewed-by: 6543 <6543@obermui.de>
Co-authored-by: jklippel <jklippel@noreply.codeberg.org>
Co-committed-by: jklippel <jklippel@noreply.codeberg.org>
2022-11-22 21:26:10 +00:00
..
handler_custom_domain.go Remove unnecessary conversion (#139) 2022-11-15 16:15:11 +01:00
handler_raw_domain.go Refactor split long functions (#135) 2022-11-12 20:43:44 +01:00
handler_sub_domain.go Return a 404 if there is no repository (#141) 2022-11-22 21:26:10 +00:00
handler_test.go Return a 404 if there is no repository (#141) 2022-11-22 21:26:10 +00:00
handler.go Remove unnecessary conversion (#139) 2022-11-15 16:15:11 +01:00
hsts.go Refactor split long functions (#135) 2022-11-12 20:43:44 +01:00
try.go Remove unnecessary conversion (#139) 2022-11-15 16:15:11 +01:00