I have successfully deployed a Shopify application on a dedicated server. However, when accessing the application through Shopify, it displays a blank page without showing any content. Interestingly, if I inspect the Shopify admin iframe and directly open the source link in a browser, the application functions correctly, displaying all expected content.
The app is hosted on a subdomain. I suspect the issue might be related to the configuration settings of the app or the server, particularly concerning CORS or iframe settings.
I have successfully deployed a Shopify application on a dedicated server. However, when accessing the application through Shopify, it displays a blank page without showing any content. Interestingly, if I inspect the Shopify admin iframe and directly open the source link in a browser, the application functions correctly, displaying all expected content.
Environment
Error Message
I encountered the following error message:
Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://online-store-web.shopifyapps.com/') does not match the recipient window's origin ('https://admin.shopify.com/').
Additional Information
The app is hosted on a subdomain. I suspect the issue might be related to the configuration settings of the app or the server, particularly concerning CORS or iframe settings.