Merge pull request #1738 from Foxboron/morten/accept-tar

shared/upload: Add .tar format
This commit is contained in:
Mislav Marohnić 2020-09-17 19:01:31 +02:00 committed by GitHub
commit 859bf445e7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -62,6 +62,8 @@ func typeForFilename(fn string) string {
return "application/zip"
case ".js":
return "application/javascript"
case ".tar":
return "application/x-tar"
case ".tgz", ".tar.gz":
return "application/x-gtar"
case ".bz2":