in kotlin/app-homepage-react/client/src/setupProxy.js [3:18]
module.exports = function(app) {
app.use(
'/api',
createProxyMiddleware({
target: 'http://localhost:8080',
changeOrigin: true,
})
);
app.use(
'/homepage',
createProxyMiddleware({
target: 'http://localhost:8080',
changeOrigin: true,
})
);
};