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
Post a Comment