diff --git a/web/fup/default.nix b/web/fup/default.nix index c1f1acd062..a459500d6d 100644 --- a/web/fup/default.nix +++ b/web/fup/default.nix @@ -12,7 +12,7 @@ pkgs.buildGoModule { src = ./.; - vendorSha256 = "sha256:1v9j8wwq9j2njygyn209vzivr6vpdmpdwjivhmjclkyfxq12l0sl"; + vendorSha256 = "sha256:01q2pqn5j34zsp1al6kidfxd9bj6s1wmz8klywp1mp4lh39ln4sl"; meta = with pkgs.lib; { description = "Simple file upload manager."; diff --git a/web/fup/go.mod b/web/fup/go.mod index 7ccf4e43c1..81f69dd3eb 100644 --- a/web/fup/go.mod +++ b/web/fup/go.mod @@ -8,6 +8,7 @@ go 1.16 require ( github.com/dustinkirkland/golang-petname v0.0.0-20191129215211-8e5a1ed0cff0 + github.com/gabriel-vasile/mimetype v1.2.0 // indirect github.com/google/safehtml v0.0.2 github.com/gorilla/mux v1.8.0 github.com/spf13/cobra v1.1.3 diff --git a/web/fup/go.sum b/web/fup/go.sum index 04a985d52f..3e26e764e2 100644 --- a/web/fup/go.sum +++ b/web/fup/go.sum @@ -129,6 +129,8 @@ github.com/fortytw2/leaktest v1.3.0/go.mod h1:jDsjWgpAGjm2CA7WthBh/CdZYEPF31XHqu github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= github.com/fsnotify/fsnotify v1.4.9 h1:hsms1Qyu0jgnwNXIxa+/V/PDsU6CfLf6CNO8H7IWoS4= github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ= +github.com/gabriel-vasile/mimetype v1.2.0 h1:A6z5J8OhjiWFV91sQ3dMI8apYu/tvP9keDaMM3Xu6p4= +github.com/gabriel-vasile/mimetype v1.2.0/go.mod h1:6CDPel/o/3/s4+bp6kIbsWATq8pmgOisOPG40CJa6To= github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= github.com/gin-contrib/sse v0.1.0/go.mod h1:RHrZQHXnP2xjPF+u1gW/2HnVO7nvIa9PG3Gm+fLHvGI= github.com/gin-gonic/gin v1.6.3/go.mod h1:75u5sXoLsGZoRN5Sgbi1eraJ4GU3++wFwWzhwvtwp4M=