Fix MIME type

This commit is contained in:
Eelco Dolstra 2023-06-06 14:03:24 +02:00
parent 42e908a308
commit d14f993a76

View file

@ -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";
}