diff --git a/app/index.html b/app/index.html index 45b669f5..4ca7a10d 100644 --- a/app/index.html +++ b/app/index.html @@ -1,5 +1,5 @@ - + diff --git a/app/app.manifest b/app/webogram.appcache similarity index 87% rename from app/app.manifest rename to app/webogram.appcache index 47cf1c68..c8265cb3 100644 --- a/app/app.manifest +++ b/app/webogram.appcache @@ -1,6 +1,6 @@ CACHE MANIFEST -# 6 +# 7 NETWORK: * diff --git a/gulpfile.js b/gulpfile.js index f1974cc0..05a8bb55 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -134,8 +134,8 @@ gulp.task('add-appcache-manifest', function() { .pipe($.manifest({ timestamp: true, network: ['http://*', 'https://*', '*'], - filename: 'app.manifest', - exclude: 'app.manifest' + filename: 'webogram.appcache', + exclude: 'webogram.appcache' })) .pipe(gulp.dest('./dist')); }); diff --git a/server.js b/server.js index c1933d2c..5c8c3447 100755 --- a/server.js +++ b/server.js @@ -81,6 +81,7 @@ StaticServlet.MimeMap = { 'json': 'application/json', 'js': 'application/javascript', 'manifest': 'text/cache-manifest', + 'appcache': 'text/cache-manifest', 'jpg': 'image/jpeg', 'jpeg': 'image/jpeg', 'gif': 'image/gif',