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