triPOS®

Cross Origin Resource Sharing Allowed Origins

Cross Origin Resource Sharing Allowed Origins

triPOS supports requests from cross-origin domains. By default, CORS Support is disabled and can be edited inside tripos.config using the property corsAllowedOrigins. To allow all domains, set corsAllowedOrigins to *.

Here is an example of CORS Support only for Vantiv.com: <corsAllowedOrigins>http://vantiv.com</corsAllowedOrigins>

Here is an example of CORS Support for Vantiv.com and Elementps.com: <corsAllowedOrigins>http://vantiv.com,http://google.com</corsAllowedOrigins>

Here is an example of CORS Support for all domains: <corsAllowedOrigins>*</corsAllowedOrigins>

For more information regarding CORS visit Enable-Cors.org