Shopify / lighthouse-ci-action

MIT License
100 stars 50 forks source link

Canonical comes as an error because of myshopify.com domain #63

Open dnpg opened 1 year ago

dnpg commented 1 year ago

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.

Screenshot 2023-04-14 at 11 54 37 pm

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.