Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/opal/sprockets/server.rb
Original file line number Diff line number Diff line change
@@ -91,6 +91,7 @@ def create_app
@app = Rack::Builder.app do
not_found = lambda { |env| [404, {}, []] }

use Rack::Deflater
use Rack::ShowExceptions
map('/assets') { run sprockets }
map(server.source_maps.prefix) { run server.source_maps } if server.source_map_enabled

0 comments on commit 79e61db

Please sign in to comment.