2025-03-09 19:45:02 -05:00
|
|
|
const { createProxyMiddleware } = require('http-proxy-middleware');
|
|
|
|
|
|
|
|
|
|
module.exports = function(app) {
|
|
|
|
|
app.use(
|
|
|
|
|
'/api',
|
|
|
|
|
createProxyMiddleware({
|
2025-03-09 19:54:50 -05:00
|
|
|
target: 'http://console.seahavenind.com',
|
|
|
|
|
//target: 'https://localhost:7195',
|
2025-03-09 19:45:02 -05:00
|
|
|
changeOrigin: true,
|
|
|
|
|
})
|
|
|
|
|
);
|
|
|
|
|
};
|