From f32337a536481e74bb71bc4b31490100c157f1b4 Mon Sep 17 00:00:00 2001 From: asonix Date: Sun, 12 Jul 2020 10:42:56 -0500 Subject: [PATCH] Support mp4 --- Cargo.lock | 2 +- Cargo.toml | 2 +- templates/index.rs.html | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 5c90813..4350fdf 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1224,7 +1224,7 @@ checksum = "d4fd5641d01c8f18a23da7b6fe29298ff4b55afcccdf78973b24cf3175fee32e" [[package]] name = "pict-rs-proxy" -version = "0.2.0-alpha.3" +version = "0.2.0-alpha.4" dependencies = [ "actix-rt", "actix-web", diff --git a/Cargo.toml b/Cargo.toml index a651a51..16fbd9b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pict-rs-proxy" -version = "0.2.0-alpha.3" +version = "0.2.0-alpha.4" authors = ["asonix "] license = "AGPL-3.0" readme = "README.md" diff --git a/templates/index.rs.html b/templates/index.rs.html index 3554efe..1598b17 100644 --- a/templates/index.rs.html +++ b/templates/index.rs.html @@ -15,7 +15,7 @@
- +
Select Files @@ -23,7 +23,7 @@ id="file-upload-input" type="file" name="@name" - accept="image/png,image/gif,image/jpeg,image/webp,.jpg,.jpeg,.png,.gif,.webp" + accept="image/png,image/gif,image/jpeg,image/webp,video/mp4,video/quicktime,.jpg,.jpeg,.png,.gif,.webp,.m4v,.mp4" multiple />