Spaces:
Configuration error
Configuration error
File size: 265 Bytes
1830d05 |
1 2 3 4 5 6 7 8 9 |
const { createProxyMiddleware } = require('http-proxy-middleware');
const proxy = {
target: 'https://q45f9ormi0.execute-api.us-east-1.amazonaws.com/',
changeOrigin: true,
};
module.exports = function (app) {
app.use('/test', createProxyMiddleware(proxy));
}; |