[BUGFIX] Insert Rack::Rewrite before Rack::Cors