mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-24 00:50:28 +00:00
Fixed type mismatch (#3403)
This commit is contained in:
parent
e72c72f04c
commit
fe527b7eaf
@ -38,7 +38,7 @@ exports.handler = function(request,response,state) {
|
||||
} else {
|
||||
status = 200;
|
||||
content = content;
|
||||
type = $tw.config.fileExtensionInfo[extension] || "application/octet-stream";
|
||||
type = ($tw.config.fileExtensionInfo[extension] ? $tw.config.fileExtensionInfo[extension].type : "application/octet-stream");
|
||||
}
|
||||
response.writeHead(status,{
|
||||
"Content-Type": type
|
||||
|
Loading…
Reference in New Issue
Block a user