Merge branch 'dev'
This commit is contained in:
commit
a6d9a9e1a8
1 changed files with 1 additions and 1 deletions
2
ui/src/utils.ts
vendored
2
ui/src/utils.ts
vendored
|
@ -210,7 +210,7 @@ export function isMod(modIds: Array<number>, creator_id: number): boolean {
|
|||
}
|
||||
|
||||
const imageRegex = new RegExp(
|
||||
/(http)?s?:?(\/\/[^"']*\.(?:jpg|jpeg|gif|png|svg))/
|
||||
/(http)?s?:?(\/\/[^"']*\.(?:jpg|jpeg|gif|png|svg|webp))/
|
||||
);
|
||||
const videoRegex = new RegExp(`(http)?s?:?(\/\/[^"']*\.(?:mp4))`);
|
||||
|
||||
|
|
Reference in a new issue