text: const { createProxyMiddleware } = require('http-proxy-middleware');
  
  module.exports = function (app) {
    app.use(
      '/api',
      createProxyMiddleware({
        target: process.env.REACT_APP_API_HOST || 'http://localhost:27238',
        changeOrigin: true,
      })
    ),
      app.use(
        '/swagger',
        createProxyMiddleware({
          target: process.env.REACT_APP_API_HOST || 'http://localhost:27238',
          changeOrigin: true,
        })
      );
  };
  