/*
 * @Description  : 
 * @Version      : 1.0
 * @Author       : Shiming
 * @Date         : 2022-01-18 09:51:21
 * @LastEditors  : Shiming
 * @LastEditTime : 2022-04-22 14:01:00
 * @FilePath     : \\tms-obc-web\\proxy.conf.js
 * Copyright (C) 2022 huzhenhong. All rights reserved.
 */

module.exports = {
  /**
   * The following means that all requests are directed to the backend `https://localhost:9000/`
   */
  // '/': {
  //   target: 'https://localhost:9000/',
  //   secure: false, // Ignore invalid SSL certificates
  //   changeOrigin: true
  // }
  // '//api': {
  //   target: {
  //     host: 'tms-api.yunduoxing.com',
  //     protocol: 'https:',
  //     port: 443
  //   },
  //   secure: false,
  //   changeOrigin: true,
  //   logLevel: 'debug'
  // },
  '//api': {
    target: {
      host: 'tms-api-test.eascs.com',
      protocol: 'https:',
      port: 443
    },
    secure: false,
    changeOrigin: true,
    logLevel: 'debug'
  },
};
