diff --git a/lib/app.rb b/lib/app.rb index f295da89..3841bde3 100644 --- a/lib/app.rb +++ b/lib/app.rb @@ -74,7 +74,7 @@ class App < Sinatra::Application use Rack::Deflater use Rack::Static, root: 'public', - urls: %w(/assets /docs/ /images /favicon.ico /robots.txt /opensearch.xml /manifest.webapp /mathml.css), + urls: %w(/assets /docs/ /images /favicon.ico /robots.txt /opensearch.xml /mathml.css), header_rules: [ [:all, {'Cache-Control' => 'no-cache, max-age=0'}], ['/assets', {'Cache-Control' => 'public, max-age=604800'}], diff --git a/public/manifest.webapp b/public/manifest.webapp deleted file mode 100644 index 7a94ba41..00000000 --- a/public/manifest.webapp +++ /dev/null @@ -1,22 +0,0 @@ -{ - "name": "DevDocs", - "description": "All-in-one API Documentation Browser", - "version": "1.0.0", - - "developer": { - "name": "Thibaut Courouble", - "url": "http://devdocs.io" - }, - - "default_locale": "en", - "installs_allowed_from": ["*"], - "chrome": { "navigation": true }, - - "icons": { - "32": "/images/webapp-icon-32.png", - "60": "/images/webapp-icon-60.png", - "80": "/images/webapp-icon-80.png", - "128": "/images/webapp-icon-128.png", - "256": "/images/webapp-icon-256.png" - } -}