Implement redesign of key
This commit is contained in:
parent
051a545a55
commit
f601d9f159
8 changed files with 203 additions and 46 deletions
|
@ -28,6 +28,7 @@ StaticHandler.contentTypeFor = function(ext) {
|
|||
else if (ext == '.html') return 'text/html';
|
||||
else if (ext == '.ico') return 'image/ico';
|
||||
else if (ext == '.txt') return 'text/plain';
|
||||
else if (ext == '.png') return 'image/png';
|
||||
else {
|
||||
winston.error('unable to determine content type for static asset with extension: ' + ext);
|
||||
return 'text/plain';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue