32 lines
		
	
	
		
			744 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
		
			744 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
/*
 | 
						|
 * @Description  : 
 | 
						|
 * @Version      : 1.0
 | 
						|
 * @Author       : Shiming
 | 
						|
 * @Date         : 2022-01-18 09:51:21
 | 
						|
 * @LastEditors  : Shiming
 | 
						|
 * @LastEditTime : 2022-01-21 16:48:06
 | 
						|
 * @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-dev.eascs.com',
 | 
						|
      protocol: 'https:',
 | 
						|
      port: 443
 | 
						|
    },
 | 
						|
    secure: false,
 | 
						|
    changeOrigin: true,
 | 
						|
    logLevel: 'debug'
 | 
						|
  },
 | 
						|
};
 |