fix: cors middleware 설정 추가
parent
7d236ee5cf
commit
6da959729b
@ -1,11 +0,0 @@
|
||||
const { createProxyMiddleware } = require('http-proxy-middleware');
|
||||
|
||||
module.exports = function (app) {
|
||||
app.use(
|
||||
'/',
|
||||
createProxyMiddleware({
|
||||
changeOrigin: true,
|
||||
target: 'http://localhost:8090'
|
||||
})
|
||||
);
|
||||
};
|
Loading…
Reference in New Issue