1
0
Fork 0
forgejo/routers/routes
Simon 8c996c6505
Fix missing stylesheets on installation page (#13736)
When running gitea for the first time, the stylesheets for the
installation page are broken since the middleware that statically serves
stylesheets does not get executed by chi. This is because if no handlers
are registered in chi, it will drop all middleware.

This commit introduces a "dummy" handler to deal with that quirk.

Closes #13725

Thanks: Lunny Xiao <xiaolunwen@gmail.com> for finding the quirk

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2020-11-28 19:52:30 +02:00
..
chi.go Fix missing stylesheets on installation page (#13736) 2020-11-28 19:52:30 +02:00
macaron.go HTTP cache rework and enable caching for storage assets (#13569) 2020-11-17 17:44:52 -05:00