0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-13 18:39:56 +01:00
gitea/routers/common
wxiaoguang ca5f302876
Fix admin config page error, use tests to cover the admin config and 500 error page (#24965)
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
errpage_test.go Fix admin config page error, use tests to cover the admin config and 500 error page (#24965) 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 (#24965) 2023-05-29 15:00:21 +00:00
markup.go Decouple the different contexts from each other (#24786) 2023-05-21 09:50:53 +08:00
middleware_test.go
middleware.go Rewrite logger system (#24726) 2023-05-21 22:35:11 +00:00
serve.go Decouple the different contexts from each other (#24786) 2023-05-21 09:50:53 +08:00