fix mailmate allowed images

main
Alpha Chen 1 week ago
parent ead646b0ab
commit 6f49db191b
Signed by: alpha
SSH Key Fingerprint: SHA256:3fOT8fiYQG/aK9ntivV3Bqtg8AYQ7q4nV6ZgihOA20g

@ -11,12 +11,13 @@
vars: vars:
mailmate: mailmate:
allowed_image_regexps: allowed_image_regexps:
- https://((i|images|d)\.gr-assets\.com - (i|images|d)\.gr-assets\.com
- www\.goodreads\.com - www\.goodreads\.com
- massdrop-s3\.imgix\.net - massdrop-s3\.imgix\.net
- .*\.cloudfront\.net - .*\.cloudfront\.net
- s3\.amazonaws\.com - s3\.amazonaws\.com
- files\.convertkitcdn\.com/assets/pictures)/.* - files\.convertkitcdn\.com/assets/pictures
- wizardzines\.com
with_items: with_items:
# NSGlobalDomain defaults # NSGlobalDomain defaults
@ -252,7 +253,7 @@
- domain: com.freron.MailMate - domain: com.freron.MailMate
key: MmAllowedImageURLRegexp key: MmAllowedImageURLRegexp
type: string type: string
value: "{{ mailmate.allowed_image_regexps | join('|') }}" value: "https://({{ mailmate.allowed_image_regexps | join('|') }})"
- domain: com.freron.MailMate - domain: com.freron.MailMate
key: MmSendMessageDelayEnabled key: MmSendMessageDelayEnabled

Loading…
Cancel
Save