diff --git a/.gitignore b/.gitignore index c870aac..3e42fc3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,3 @@ /target /storage -/result -flamegraph.svg -perf.data* \ No newline at end of file +/result \ No newline at end of file diff --git a/flake.nix b/flake.nix index a915975..b1d4057 100644 --- a/flake.nix +++ b/flake.nix @@ -51,13 +51,7 @@ packages."${name}-unwrapped" = project.rootCrate.build; devShell = pkgs.mkShell { - nativeBuildInputs = with pkgs; [ - stdenv.cc - rustc - cargo - cargo-audit - cargo-flamegraph - ]; + nativeBuildInputs = with pkgs; [ rustc cargo cargo-audit stdenv.cc ]; RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}"; }; } diff --git a/src/download.rs b/src/download.rs index 830e9fb..c86d801 100644 --- a/src/download.rs +++ b/src/download.rs @@ -45,7 +45,6 @@ impl DownloadingFile { let mut res = HttpResponse::build(StatusCode::OK); - res.insert_header((header::CONTENT_SECURITY_POLICY, "sandbox")); res.insert_header((header::CONTENT_TYPE, mime::APPLICATION_OCTET_STREAM)); res.insert_header(( header::CONTENT_DISPOSITION, diff --git a/static/index.html b/static/index.html index c9b570e..5728d64 100644 --- a/static/index.html +++ b/static/index.html @@ -21,7 +21,9 @@