fix: cors middleware 설정 추가

dev
minuk926 2 years ago
parent cdfa5d2aec
commit 7d236ee5cf

@ -2,7 +2,7 @@ const { createProxyMiddleware } = require('http-proxy-middleware');
module.exports = function (app) { module.exports = function (app) {
app.use( app.use(
'/api', '/',
createProxyMiddleware({ createProxyMiddleware({
changeOrigin: true, changeOrigin: true,
target: 'http://localhost:8090' target: 'http://localhost:8090'

Loading…
Cancel
Save