ProxyTable satisfies two conditions at the same time (one of which is non)

satisfies both the beginning of / api and the need to forward to aaa,
/ api/order to bbb.


 "/api/": {  //  
    target: "http://dev.api.aaa.cn",
    changeOrigin: true
  },
  "/api/order": { 
    target: "http://dev.api.bbb.cn/",
    changeOrigin: true
  },

read the relevant documentation and did not find a suitable solution. ?


Why don't you write one as'/ api', and the other as'/ bpi''

< hr >
 '/api/': {
    target: 'http://dev.api.aaa.cn',
    changeOrigin: true,
    pathRewrite: {
      '^/api': '/'
    }
  },
  '/bpi': { 
    target: 'http://dev.api.bbb.cn/',
    changeOrigin: true,
    pathRewrite: {
      '^/bpi': '/'
    }
  },

you just change the order.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1beaa47-31a0c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1beaa47-31a0c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?