From 6f49db191b96e084dc2e779899b96bbbaab1decf Mon Sep 17 00:00:00 2001 From: Alpha Chen Date: Tue, 21 Jan 2025 19:37:40 -0800 Subject: [PATCH] fix mailmate allowed images --- dev/defaults.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/dev/defaults.yml b/dev/defaults.yml index c29d26b..53d0610 100644 --- a/dev/defaults.yml +++ b/dev/defaults.yml @@ -11,12 +11,13 @@ vars: mailmate: allowed_image_regexps: - - https://((i|images|d)\.gr-assets\.com + - (i|images|d)\.gr-assets\.com - www\.goodreads\.com - massdrop-s3\.imgix\.net - .*\.cloudfront\.net - s3\.amazonaws\.com - - files\.convertkitcdn\.com/assets/pictures)/.* + - files\.convertkitcdn\.com/assets/pictures + - wizardzines\.com with_items: # NSGlobalDomain defaults @@ -252,7 +253,7 @@ - domain: com.freron.MailMate key: MmAllowedImageURLRegexp type: string - value: "{{ mailmate.allowed_image_regexps | join('|') }}" + value: "https://({{ mailmate.allowed_image_regexps | join('|') }})" - domain: com.freron.MailMate key: MmSendMessageDelayEnabled