From 40c73218c970778811542c12061e7a8b6c627ee2 Mon Sep 17 00:00:00 2001 From: Matthew Lopez <73856503+MatthewL246@users.noreply.github.com> Date: Thu, 21 Dec 2023 15:08:15 -0500 Subject: [PATCH] Add Pretendo's hard-coded CDN to redirects --- pretendo_addon.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pretendo_addon.py b/pretendo_addon.py index fbfe8d0..33a3ca1 100644 --- a/pretendo_addon.py +++ b/pretendo_addon.py @@ -45,6 +45,7 @@ def request(self, flow: http.HTTPFlow) -> None: if ctx.options.pretendo_host and ( "pretendo.cc" in flow.request.pretty_host or "pretendo.network" in flow.request.pretty_host + or "pretendo-cdn.b-cdn.net" in flow.request.pretty_host ): original_host = flow.request.host_header flow.request.host = ctx.options.pretendo_host