Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Can I set CORS to my Itch.io subdomain?

A topic by Arknostik created Aug 18, 2017 Views: 948 Replies: 4
Viewing posts 1 to 2

Can I set a CORS limit to only my ITch.io Subdomain? Is that possible?

Admin

Are you trying to make authenticated requests to the itch.io domain? That isn't allowed. Could you tell me what you're trying to accomplish?

Thanks

I've created a webserver that handles http from a game I have in Itch.io. 

I was trying to enable CORS to only allow requests from my subdomain, like arknostik.itch.io

Admin

I think you have it backwards, it doesn't make sense to add CORS to itch.io since you wouldn't be making requests there. We don't have a server running on our domain that would know how to respond to your request. If you want to have your game communicate with your own domain you would want to add CORS to your domain

(+1)

It is true, I really had it in the wrong way. I'm kinda new with theses things! Thanks for the replies, I did make it work after understanding how all of this works!

Thanks, leafo!

This topic has been auto-archived and can no longer be posted in because there haven't been any posts in a while.