clickcat-project / ClickCat

A friendly user interface that lets you search,explore and visualize your ClickHouse Data.
http://8.135.49.240:8080/
Apache License 2.0
78 stars 6 forks source link

Hard-coded ProxyTargetList #3

Open dgloeckner opened 1 year ago

dgloeckner commented 1 year ago

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/, '')
    }
  }
}