mirror of
https://git.v0l.io/Kieran/void.cat.git
synced 2025-04-08 22:58:01 +02:00
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
|
||||
var store = _settings.DefaultFileStore;
|
||||
if (uid.HasValue)
|
||||
|
Loading…
x
Reference in New Issue
Block a user