Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics

Adding a CORS header for my iframe game

A topic by GuildsOfGods created 98 days ago Views: 729 Replies: 2
Viewing posts 1 to 2

The game I have uploaded to requires a connection to an offsite server to play. The connection from which my iframe is held is currently at, but I assume that I could be swapped servers per upload or maybe more frequently. If I use this hosted domain as the CORS domain, will this domain change on me on my next upload?

If this is the case, I'll have to restart my server every time I update or the host server for my game changes. Is there any way to make linking CORS  more consistent?


This domain is where all of our HTML5 games are served from. It will not change without notice. If we do move the domain then we'll give notice. If you want to future-proof your CORS setup you can also add the domain, since that's probably the final domain HTML5 games will end up at.


Thank you, good to know.