首页 > TAG信息列表 > commonUrl

Response to preflight request doesn't pass access control check: Redirect is not allowed for a

vue中关于非简单请求跨域问题,跨域配置可如下: js devServer: { open: false, host: '127.0.0.1', port: 8080, proxy: { '/commonUrl': { target: `https://commonUrl`, //这里是重点,原本是http请求,后端写的是htt