Hello,
Thank you for your response.
After install the app in shopify, the browser redirects to my url, which is https://middleware.shopvote.de/
This line:
const host = new URLSearchParams(window.location.search).get('host')
returns null and the error in console
APP::ERROR::INVALID_CONFIG: host must be provided
My code:
Is there another way to get the host, before redirection to shopify admin executed?