mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-24 03:55:49 +08:00
add appcache for docs site - caches only css/js/img resources
This commit is contained in:
@@ -79,7 +79,8 @@ StaticServlet.MimeMap = {
|
||||
'jpg': 'image/jpeg',
|
||||
'jpeg': 'image/jpeg',
|
||||
'gif': 'image/gif',
|
||||
'png': 'image/png'
|
||||
'png': 'image/png',
|
||||
'manifest': 'text/cache-manifest'
|
||||
};
|
||||
|
||||
StaticServlet.prototype.handleRequest = function(req, res) {
|
||||
|
||||
Reference in New Issue
Block a user