mirror of
https://github.com/webodf/WebODF.git
synced 2026-11-30 16:47:58 +01:00
Update Node, Closure and JSLint.
This commit is contained in:
@@ -132,6 +132,8 @@ http.createServer(function (request, response) {
|
||||
} else if (filename.substr(-4) === ".odp" ||
|
||||
filename.substr(-5) === ".fodp") {
|
||||
head["Content-Type"] = "application/vnd.oasis.opendocument.spreadsheet";
|
||||
} else if (filename.substr(-4) === ".txt") {
|
||||
head["Content-Type"] = "text/plain; charset=utf-8";
|
||||
}
|
||||
response.writeHead(200, head);
|
||||
if (request.method !== "HEAD") {
|
||||
|
||||
Reference in New Issue
Block a user