Hi Folks,
We are using the Add HTML app successfully to rewrite a legacy application’s Terms of Service links & some branding updates. This works well, and has helped us avoid a redeploy. Very popular with devs and marketing / legal.
Attempting to do a similar rewrite with a sibling app, we’ve run into some difficulties. The upstream app is on App Engine Standard:
- Difficulty installing the Add HTML app at all with a delegated access account (this seems to be a problem regardless). Installing the app / seeing an existing installed app seems to work okay with the domain owner’s account.
- Difficulty previewing the changes inline
- In this case, it seems to be because the upstream application doesn’t like the
_
query parameter added to the request within the preview iframe - Previewing works okay as long as we detach the frame and use the proxying preview through the
*.p.Cloudflare.works
endpoint
- In this case, it seems to be because the upstream application doesn’t like the
- No (visible) effect on the deployed application once the changes are enabled through the site owner account
I am wondering if you could help us with some debugging here. The query parameter is unfortunately something the web framework on the source site is not happy with. Not much to do there, but could you confirm that the live proxy request does not add additional parameters to the GET
?
Further, we’ve tried enabling the Cloudflare proxy and mapping to the upstream App Engine domain with both CNAME (ghs.googlehosted.com) and A / AAAA entries. This works fine on our other endpoint, but not here. There is no obvious change to the site, and we are not clear if any rewriting is happening at all. This has been tested with both Cloudflare DNS (
1.1.1.1
) and from other ISP-provided servers.
Thanks!