ClickCat icon indicating copy to clipboard operation
ClickCat copied to clipboard

Hard-coded ProxyTargetList

Open dgloeckner opened this issue 3 years ago • 0 comments

Hi guys,

I found this hard-coded ProxyTargetList.

What's the purpose of that?

const init: ProxyTargetList = {
  '/ml': {
    target: 'http://172.16.1.192:8080/',
    changeOrigin: true,
    rewrite: (path) => {
      return path.replace(/^\/ml/, '')
    }
  }
}

dgloeckner avatar Sep 09 '22 11:09 dgloeckner