You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/routers
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>
4 years ago
..
admin Handle and propagate errors when checking if paths are Dirs, Files or Exist (#13186) 4 years ago
api/v1 Handle and propagate errors when checking if paths are Dirs, Files or Exist (#13186) 4 years ago
dev Display ui time with customize time location (#7792) 6 years ago
events Add EventSource support (#11235) 5 years ago
org Add markdown support in organization description (#13549) 4 years ago
private Fix a bug when check if owner is active (#13612) 4 years ago
repo ui: show 'owner' tag for real owner (#13689) 4 years ago
routes Fix missing stylesheets on installation page (#13736) 4 years ago
user Handle and propagate errors when checking if paths are Dirs, Files or Exist (#13186) 4 years ago
utils Return the full rejection message and errors in flash errors (#13221) 5 years ago
home.go Simplify CheckUnitUser logic (#12854) 5 years ago
init.go Move install pages out of main macaron routes (#13195) 5 years ago
install.go Handle and propagate errors when checking if paths are Dirs, Files or Exist (#13186) 4 years ago
metrics.go Move metrics from macaron to chi (#13601) 4 years ago
swagger_json.go Add gitea-vet (#10948) 5 years ago