Skip to content
Snippets Groups Projects
Commit 6a765110 authored by 이권민's avatar 이권민
Browse files

[ADD] proxy to POST entry

parent 4aeafcfa
No related branches found
No related tags found
No related merge requests found
......@@ -8,6 +8,7 @@
"@testing-library/user-event": "^13.5.0",
"axios": "^1.6.2",
"gh-pages": "^6.0.0",
"http-proxy-middleware": "^2.0.6",
"prop-types": "^15.8.1",
"react": "^18.2.0",
"react-calendar": "^4.6.1",
......
const { createProxyMiddleware } = require('http-proxy-middleware');
module.exports = function(app){
app.use(
createProxyMiddleware(
'/meetings',{
target: 'http://43.200.79.42:3000',
changeOrigin: true,
})
);
};
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment