gitea/modules/web
zeripath 1f5011dff7
Restore CORS on git smart http protocol () ()
Backport 

Unfortunately the chi changes have resulted in the CORS headers for the
git smart http protocol going missing.

This is mostly because the OPTIONS method is not being handled by
httpBase anymore.

This PR adds a GetOptions, PostOptions and Options methods to web
handler to allow OPTIONS method requests to still reach the httpBase
function.

Fix 
Close 

Signed-off-by: Andrew Thornton <art27@cantab.net>
2021-07-21 15:03:02 +01:00
..
middleware Add tag protection () 2021-06-25 16:28:55 +02:00
route.go Restore CORS on git smart http protocol () () 2021-07-21 15:03:02 +01:00
route_test.go Move macaron to chi () 2021-01-26 16:36:53 +01:00