When I get the report from Lighthouse, one of the issues is that the canonical url points to the Primary domain of the store which is not the .myshopify.com one.
I tried changing the SHOP_STORE secret to the main domain, but this is not allowed as lighthouse won't work.
I think that a possible solution might be to have another secret SHOP_PRIMARY_DOMAIN that is used to create the host url used for the lighthouse report.
When I get the report from Lighthouse, one of the issues is that the canonical url points to the Primary domain of the store which is not the .myshopify.com one.
I tried changing the SHOP_STORE secret to the main domain, but this is not allowed as lighthouse won't work.
I think that a possible solution might be to have another secret SHOP_PRIMARY_DOMAIN that is used to create the host url used for the lighthouse report.