"use strict";

module.exports = {
  dev: {
    '/CityInterface': {
      // target: 'http://192.168.10.151:8055',
      // target: 'https://panda-water.cn', 
      // target: 'http://192.168.19.102:8055',
      target: 'https://panda-water.com',
      // target: 'http://192.168.10.150:8050',
      // target: 'http://192.168.19.103:8112',
      // target: 'http://192.168.12.8:8098',
      // target: 'http://192.168.10.20:8888',
      changeOrigin: true,
      headers: {
        'Access-Control-Allow-Origin': '*'
      },
      pathRewrite: {
        '/CityInterface': '/CityInterface'
      }
    },
    '/cityinterface': {
      // target: 'http://192.168.10.150:8050',
      // target: 'https://panda-water.cn',
      // target: 'http://192.168.19.102:8055',
      target: 'https://panda-water.com',
      // target: 'http://192.168.12.8:8098',
      // target: 'http://192.168.10.20:8888',
      changeOrigin: true,
      headers: {
        'Access-Control-Allow-Origin': '*'
      },
      pathRewrite: {
        '/cityinterface': '/cityinterface'
      }
    },
    '/Publish': {
      // target: 'http://192.168.12.8:8098',
      // target: 'http://192.168.10.20:8888',
      // target: 'http://192.168.10.151:8055',
      // target: 'https://panda-water.cn',
      // target: 'http://192.168.19.102:8055',
      target: 'https://panda-water.com',
      // target: 'http://192.168.10.150:8050',
      changeOrigin: true,
      headers: {
        'Access-Control-Allow-Origin': '*'
      },
      pathRewrite: {
        '/Publish': '/Publish'
      }
    }
  }
};