class ViteRuby::DevServerProxy

def perform_request(env)

Rack: Intercept asset requests and send them to the Vite server.
def perform_request(env)
  if vite_should_handle?(env) && dev_server_running?
    forward_to_vite_dev_server(env)
    super(env)
  else
    @app.call(env)
  end
end