Add manifest.webapp to the list of static files

This commit is contained in:
Thibaut 2014-01-15 22:44:39 -05:00
parent 85380f80f5
commit 21e186d6b1

View file

@ -55,7 +55,7 @@ class App < Sinatra::Application
use Rack::Deflater
use Rack::Static,
root: 'public',
urls: %w(/assets /docs /images /favicon.ico /robots.txt /opensearch.xml),
urls: %w(/assets /docs /images /favicon.ico /robots.txt /opensearch.xml /manifest.webapp),
header_rules: [
[:all, {'Cache-Control' => 'private, max-age=0'}],
['/assets', {'Cache-Control' => 'public, max-age=604800'}],