We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d64aede commit 747b942Copy full SHA for 747b942
miniapps/image-render/src/manifest.ts
@@ -13,7 +13,14 @@ const manifest: ModManifest = {
13
if: {
14
value: "{{embed.url}}",
15
match: {
16
- equals: "{{embed.metadata.image.url}}",
+ OR: [
17
+ { equals: "{{embed.metadata.image.url}}" },
18
+ { endsWith: ".png" },
19
+ { endsWith: ".jpg" },
20
+ { endsWith: ".jpeg" },
21
+ { endsWith: ".gif" },
22
+ { endsWith: ".svg" },
23
+ ],
24
},
25
26
element: view,
0 commit comments