mirror of
https://github.com/NixOS/nix.git
synced 2024-11-28 17:52:25 +00:00
Fix MIME type
This commit is contained in:
parent
42e908a308
commit
d14f993a76
@ -205,8 +205,7 @@ for my $fn (glob "$tmpDir/*") {
|
||||
my $configuration = ();
|
||||
$configuration->{content_type} = "application/octet-stream";
|
||||
|
||||
if ($fn =~ /.sha256|install/) {
|
||||
# Text files
|
||||
if ($fn =~ /.sha256|install|\.nix$/) {
|
||||
$configuration->{content_type} = "text/plain";
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user