other server.... #5310
-
hello if I set ruffle on server A and upload "game.swf" files to on server B then, server A website can play the "game.swf(server B)" ? I wanna uploads swf files to server B only... thank you so much ...! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You'll need to add an "Access Control Allow Origin" header of Server A's domain (or * to allow requests from any domain) to Server B. See https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS/Errors/CORSMissingAllowOrigin, as well as https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS for a fuller description of what CORS is. Ruffle uses the Fetch API, so is subject to the same security restrictions as other scripts. See also #1500. |
Beta Was this translation helpful? Give feedback.
You'll need to add an "Access Control Allow Origin" header of Server A's domain (or * to allow requests from any domain) to Server B. See https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS/Errors/CORSMissingAllowOrigin, as well as https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS for a fuller description of what CORS is. Ruffle uses the Fetch API, so is subject to the same security restrictions as other scripts.
See also #1500.