Browse Source

Add .webapp mime type

Thibaut 12 years ago
parent
commit
6dce8eb34b
1 changed files with 2 additions and 0 deletions
  1. 2 0
      lib/app.rb

+ 2 - 0
lib/app.rb

@@ -5,6 +5,8 @@ class App < Sinatra::Application
   Bundler.require environment
   require 'sinatra/cookies'
 
+  Rack::Mime::MIME_TYPES['.webapp'] = 'application/x-web-app-manifest+json'
+
   configure do
     set :sentry_dsn, ENV['SENTRY_DSN']
     set :protection, except: [:frame_options, :xss_header]