for outline path content type to always be text/html
This commit is contained in:
@@ -20,7 +20,7 @@ func NewOutlineHandler(path string, opts *ProxyOptions) fiber.Handler {
|
||||
rx.SpoofReferrerFromGoogleSearch(),
|
||||
).
|
||||
AddResponseModifications(
|
||||
tx.ForwardResponseHeaders(),
|
||||
tx.SetResponseHeader("content-type", "text/html"),
|
||||
tx.DeleteIncomingCookies(),
|
||||
tx.RewriteHTMLResourceURLs(),
|
||||
tx.GenerateReadableOutline(), // <-- this response modification does the outline rendering
|
||||
|
||||
Reference in New Issue
Block a user