[#164] serve common media files inline and fix svg content-type

This commit is contained in:
Gani Georgiev
2022-07-21 12:56:17 +03:00
parent 1a5180d7d3
commit 5d8fc939e2
15 changed files with 138 additions and 57 deletions
+1 -1
View File
@@ -789,7 +789,7 @@ export default class CommonHelper {
* @return {Boolean}
*/
static hasImageExtension(filename) {
return /\.jpg|\.jpeg|\.png|\.svg|\.webp|\.avif$/.test(filename)
return /\.jpg|\.jpeg|\.png|\.svg|\.gif|\.webp|\.avif$/.test(filename)
}
/**