From ee08f20f8b2675a6f26bb07591a7bccdefa6d715 Mon Sep 17 00:00:00 2001 From: sandeep Date: Mon, 8 Nov 2021 22:24:03 +0530 Subject: [PATCH] improved shopify takeover detection --- takeovers/shopify-takeover.yaml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/takeovers/shopify-takeover.yaml b/takeovers/shopify-takeover.yaml index 66f65fc4ce..8da69c54c4 100644 --- a/takeovers/shopify-takeover.yaml +++ b/takeovers/shopify-takeover.yaml @@ -12,8 +12,18 @@ requests: path: - "{{BaseURL}}" + matchers-condition: and matchers: - type: word words: + - 'To finish setting up your new web address, go to your domain settings, click "Connect existing domain"' - "Sorry, this shop is currently unavailable." - - 'To finish setting up your new web address, go to your domain settings, click "Connect existing domain"' \ No newline at end of file + condition: or + + - type: word + words: + - 'shop-not-found' + + - type: dsl + dsl: + - '!contains(host,"myshopify.com")' \ No newline at end of file