shopify - Coss origin Error -


i'm getting following error in chrome not in firefox.

headers i've used are:

header("access-control-allow-origin: {$_server['http_origin']}");  header("access-control-allow-origin: * "); 

but i'm still stuck.the error getting follows-

image origin 'https://www.example.com' has been blocked loading cross-origin resource sharing policy: no 'access-control-allow-origin' header present on requested resource. origin 'https://example-app.myshopify.com' therefore not allowed access.


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -