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

@@ -20,6 +20,7 @@ func NewOutlineHandler(path string, opts *ProxyOptions) fiber.Handler {
rx.SpoofReferrerFromGoogleSearch(),
).
AddResponseModifications(
tx.ForwardResponseHeaders(),
tx.DeleteIncomingCookies(),
tx.RewriteHTMLResourceURLs(),
tx.GenerateReadableOutline(), // <-- this response modification does the outline rendering