forgejo/routers
Farid AYOUJIL 1737a76e1f
Adding Chi's GetHead middleware ()
Before moving to Chi, HEAD requests were automatically answered by GET
handlers (SetAutoHead(true) from macaron was used).

This Change will restore the previous behaviour.

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2021-02-02 10:53:42 +02:00
..
admin Update docs and comments to remove macaron () 2021-01-29 16:35:30 +01:00
api/v1 [API] List, Check, Add & delete endpoints for repository teams () 2021-02-01 22:57:12 +01:00
dev Display ui time with customize time location () 2019-08-15 22:46:21 +08:00
events Add EventSource support () 2020-05-07 22:49:00 +01:00
org Move macaron to chi () 2021-01-26 16:36:53 +01:00
private Move macaron to chi () 2021-01-26 16:36:53 +01:00
repo Move middlewares to web/middleware () 2021-01-30 10:55:53 +02:00
routes Adding Chi's GetHead middleware () 2021-02-02 10:53:42 +02:00
user Fix captcha () 2021-01-27 22:56:54 +08:00
utils Return the full rejection message and errors in flash errors () 2020-10-20 19:50:10 -04:00
home.go [Feature] add precise search type for Elastic Search () 2021-01-27 12:00:35 +02:00
init.go Print usefull error if SQLite is used in settings but not supported () 2021-01-27 04:57:18 +01:00
install.go Move middlewares to web/middleware () 2021-01-30 10:55:53 +02:00
metrics.go Move metrics from macaron to chi () 2020-11-17 15:50:06 -05:00
swagger_json.go Move macaron to chi () 2021-01-26 16:36:53 +01:00