fix: cors middleware 설정 추가

dev
minuk926 2 years ago
parent 8eed59be10
commit cdfa5d2aec

@ -4,11 +4,8 @@ module.exports = function (app) {
app.use(
'/api',
createProxyMiddleware({
target: 'http://localhost:8090',
changeOrigin: true,
pathRewrite: {
'^/api': ''
}
target: 'http://localhost:8090'
})
);
};

Loading…
Cancel
Save