1
0
mirror of https://github.com/go-gitea/gitea synced 2025-01-09 23:45:59 +01:00
gitea/routers/common
wxiaoguang ca5f302876
Fix admin config page error, use tests to cover the admin config and 500 error page ()
The admin config page has been broken for many many times, a little
refactoring would make this page panic.

So, add a test for it, and add another test to cover the 500 error page.

Co-authored-by: Giteabot <teabot@gitea.io>
2023-05-29 15:00:21 +00:00
..
db.go Support disabling database auto migration () 2022-12-07 09:58:31 -06:00
errpage_test.go Fix admin config page error, use tests to cover the admin config and 500 error page () 2023-05-29 15:00:21 +00:00
errpage.go Fix admin config page error, use tests to cover the admin config and 500 error page () 2023-05-29 15:00:21 +00:00
markup.go Decouple the different contexts from each other () 2023-05-21 09:50:53 +08:00
middleware_test.go Support sanitising the URL by removing extra slashes in the URL () 2023-03-04 21:31:24 +08:00
middleware.go Rewrite logger system () 2023-05-21 22:35:11 +00:00
serve.go Decouple the different contexts from each other () 2023-05-21 09:50:53 +08:00