def call(env)
      case env[REQUEST_METHOD]
      when GET, HEAD
        route_match = @router.match_route(env)
        return respond_to_match(route_match, env) if route_match
      end

      @app.call(env)
    end
def call(env)
      case env[REQUEST_METHOD]
      when GET, HEAD
        route_match = @router.match_route(env)
        return respond_to_match(route_match, env) if route_match
      end

      @app.call(env)
    end
Initialize the Rack middleware for responding to serviceworker asset
 requests

 @app [#call] middleware stack
 @opts [Hash] options to inject
 @param opts [#match_route] :routes matches routes on PATH_INFO
 @param opts [Hash] :headers default headers to use for matched routes
 @param opts [#call] :handler resolves response from matched asset name
 @param opts [#info] :logger logs requests