How to avoid "Maintenence" page when fetching from Cloudflare Workers

I’m using a Glitch static site for development with Cloudflare Workers in front for an API. I’m trying to fetch a page and replace some placeholders with data in the worker, but the fetch only returns the Glitch loading screen with the title “Maintenence”. IIRC this page was added wayy back when the ping ban went in to effect and was served to suspected pingers, so this is probably a false positive. I already tried overriding the user agent to both something custom and actually representative of the app (App-Name/1.0) and to the user agent of Firefox 99. No luck. Is there any way to avoid this?

1 Like

Never mind, I was being a dumbass and adding the user agent header to the response instead of the fetch request. It works now.