mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
added woff mime type
This commit is contained in:
parent
76e4f9d642
commit
cb47933cee
1 changed files with 4 additions and 2 deletions
|
|
@ -215,9 +215,11 @@ CloudServer.generateHeaders = function(pName, pGzip){
|
|||
else if(CloudFunc.checkExtension(pName,'json'))
|
||||
lType='application/json';
|
||||
else if(CloudFunc.checkExtension(pName,'html'))
|
||||
lType='text/html';
|
||||
lType='text/html';
|
||||
else if(CloudFunc.checkExtension(pName,'woff'))
|
||||
lType='font/woff';
|
||||
else if(CloudFunc.checkExtension(pName,'appcache'))
|
||||
lType='text/cache-manifest';
|
||||
lType='text/cache-manifest';
|
||||
/* если это неизвестный тип файла -
|
||||
* высылаем его просто как текст
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue