forked from Kieran/void.cat
Default mime to octet-stream
This commit is contained in:
parent
d6b7c574d2
commit
2c8d9a8241
@ -73,6 +73,11 @@ namespace VoidCat.Controllers
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (string.IsNullOrEmpty(mime))
|
||||||
|
{
|
||||||
|
mime = "application/octet-stream";
|
||||||
|
}
|
||||||
|
|
||||||
// detect store for ingress
|
// detect store for ingress
|
||||||
var store = _settings.DefaultFileStore;
|
var store = _settings.DefaultFileStore;
|
||||||
if (uid.HasValue)
|
if (uid.HasValue)
|
||||||
|
Loading…
Reference in New Issue
Block a user