The webpage is to be a Custom Error Page so hard to show it. I am just working on a super basic html page in notepad to use, literally the Custom Error Code and the iframe, super simple (I had hoped!)
So you mentioned that you want to embed the iframe into the custom error page. Well, I don’t think you can change X-Frame-Options header value for the custom error page.
What I mean how do I change the “X-Frame-Options header value” for my Workers Site?
I can iframe a regular site no problem.
But I can not iframe my worker site anywhere, be in on a regular hosted webpage, on a testing site like W3Schools Tryit Editor
or even iframing a worker element in the worker site itself.
It is the Worker Site X-Frame-Options header value that I want to change, but there is no server to change it on, so how would I be able to do it?
Or is iframing / embedding a Worker Site not possible? (In which case how do people use them beyond very basic functions?)
For example I have a web player that plays an audio file, I would love to use a worker for the player (it works great) but when I try to embed it into my regular site I get this same X-Frame-Options header value error.
I literally just used the walk through here: Start from scratch · Cloudflare Workers docs
and then put my html one page site up
I didnt write any Workers code myself at all, probably why I cant get it to do what I want! haha