fix content-type not set regression on main proxy handler

This commit is contained in:
Kevin Pham
2023-12-07 09:58:52 -06:00
parent 1ebb486592
commit df19209211
4 changed files with 16 additions and 9 deletions

View File

@@ -29,7 +29,6 @@ func NewRulesetSiteHandler(opts *ProxyOptions) fiber.Handler {
return c.Send([]byte(jsn))
default:
// TODO: the ruleset.MarshalYAML() method is currently broken and panics
yml, err := opts.Ruleset.YAML()
if err != nil {
return err