refactor outline api to become a response modifier
This commit is contained in:
@@ -34,7 +34,7 @@ func NewAPIOutlineHandler(path string, opts *ProxyOptions) fiber.Handler {
|
||||
AddResponseModifications(
|
||||
tx.DeleteIncomingCookies(),
|
||||
tx.RewriteHTMLResourceURLs(),
|
||||
tx.APIOutline(),
|
||||
tx.APIContent(),
|
||||
).
|
||||
SetFiberCtx(c).
|
||||
Execute()
|
||||
|
||||
Reference in New Issue
Block a user