class ViteRuby::DevServerProxy
def vite_should_handle?(env)
def vite_should_handle?(env) path = normalize_uri(env['PATH_INFO']) return true if path.start_with?(vite_url_prefix) # Vite asset return true if file_in_vite_root?(path) # Fallback if Vite can serve the file end