FreeHostia Forums https://forum.freehostia.com/ |
|
Access-Control-Allow-Origin Multiple Origin Domains https://forum.freehostia.com/viewtopic.php?f=6&t=66250 |
Page 1 of 1 |
Author: | Billy3 [ Fri May 27, 2022 4:50 am ] |
Post subject: | Access-Control-Allow-Origin Multiple Origin Domains |
Hi Is there a way to allow multiple cross-domains using the Access-Control-Allow-Origin header? I'm aware of the *, but it is too open. I really want to allow just a couple domains. As an example, something like this: Access-Control-Allow-Origin: http://domain1.example, http://domain2.example I have tried the above code but it does not seem to work in Firefox. Is it possible to specify multiple domains or am I stuck with just one? |
Page 1 of 1 | All times are UTC |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |