diff options
author | peaceiris <30958501+peaceiris@users.noreply.github.com> | 2021-06-13 13:10:23 +0300 |
---|---|---|
committer | peaceiris <30958501+peaceiris@users.noreply.github.com> | 2021-06-13 13:10:29 +0300 |
commit | 22fdf5a08da079740c9775f66db7e58a9ab30640 (patch) | |
tree | 8ad2a91eaf4eb2dd8d2a2e00bcbfc263a227a947 /exampleSite | |
parent | fd3f5542c2a6dc6cdc860978798a39963aeef781 (diff) |
ci: remove gif mp4
Diffstat (limited to 'exampleSite')
-rw-r--r-- | exampleSite/scripts/fetch_images.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/exampleSite/scripts/fetch_images.ts b/exampleSite/scripts/fetch_images.ts index 37b58bcb..7c22a761 100644 --- a/exampleSite/scripts/fetch_images.ts +++ b/exampleSite/scripts/fetch_images.ts @@ -68,7 +68,7 @@ class Post { const markdownContent = await Deno.readTextFile(this.path); // https://docs.github.com/en/github/managing-your-work-on-github/file-attachments-on-issues-and-pull-requests const regexMarkdownImageLinks = - /https:\/\/user-images.githubusercontent.com\/[-_.!~*\'()a-zA-Z0-9;\/?:\@&=+\$,%#]+\.(png|gif|jpg|jpeg|mp4|mov)/gm; + /https:\/\/user-images.githubusercontent.com\/[-_.!~*\'()a-zA-Z0-9;\/?:\@&=+\$,%#]+\.(png|jpg|jpeg)/gm; const matches = markdownContent.match(regexMarkdownImageLinks); if (matches === null) return; for (const remoteUrl of matches) { |