diff options
| author | RblSb <msrblsb@gmail.com> | 2020-03-31 22:45:02 +0300 |
|---|---|---|
| committer | RblSb <msrblsb@gmail.com> | 2020-03-31 22:45:02 +0300 |
| commit | 6effda5b228804f2b9d622c1db94684974b05828 (patch) | |
| tree | 25022c99af44ad20e2a2489770e4ab6d8b3aa2a1 /default-config.json | |
| parent | a630cd235f8ee81922f541e19ef741812613ff50 (diff) | |
Minor
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>" }, |
