diff options
Diffstat (limited to 'default-config.json')
| -rw-r--r-- | default-config.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/default-config.json b/default-config.json index 53dfbe5..a975c12 100644 --- a/default-config.json +++ b/default-config.json @@ -56,7 +56,7 @@ "filters": [ { "name": "image", - "regex": "(https?:\\/\\/[^']*\\.)(png|jpg|gif|jpeg)([^' ,]*)", + "regex": "(https?:\\/\\/[^']*\\.)(png|jpg|gif|jpeg|webp)([^' ,]*)", "flags": "g", "replace": "<a href='$1$2$3' target='_blank' rel='noopener noreferrer'><img src='$1$2$3' class='chat-img'/></a>" }, |
