直接写http://127.0.0.1/top-php/regi... header field Content-Type is not allowed by Access-Control-Allow-Headers in preflight response.用proxy转发就报404。
'top-php': { target: 'http://127.0.0.1:80', changeOrigin: true, secure: false },
尚方宝剑之说
相关分类