DaveTheCoder
sorry to sound like a newbie but how would I use the .htaccess file, like where would I put it, how would I make it, how to use the code, and all of that stuff.

First, it only applies to a web server that's running Apache. Second, the server configuration has to allow per-directory configuration files, which by default are named "htaccess".

If those conditions are true, create a text file named ".htaccess" with the contents in my previous post, and placed it in the server's file system directory that contains the web page with the iframe.

Whether you can do that depends on how much access you have to your server.

There are other ways of dealing with that error you received. See this for more information:
https://github.com/godotengine/godot/issues/69020

An alternative is to use Godot 3.

Is there a way to downgrade a 4.1 project to 3?

mrnull actually nvm because of something else that won't work

mrnull wdym by manually?

Make a backup of the project, then try to open it in Godot 3. Fix any errors that appear. It could require rebuilding scenes, making changes to scripts, etc. There's no documented procedure for doing this.

    This is an Itch-specific problem. You could try bugging guy who runs it to fix it. His twitter handle is... nevermind, he moved over to the fediverse, he still posts occasionally at https://mastodon.social/@leafo

    DaveTheCoder
    Okay, switching directions, how would I add these headers in a GitHub pages site?

    DaveTheCoder I did it earlier but that was before I decided to switch to github pages. it would be easiest that way.