spr代理配置
This commit is contained in:
		
							parent
							
								
									bb6e83b9a4
								
							
						
					
					
						commit
						9baae924a6
					
				|  | @ -83,6 +83,12 @@ module.exports = function(env, argv) { | |||
| 			}, | ||||
| 			stats: 'errors-only', // 开启报错提示
 | ||||
| 			proxy: { | ||||
| 				'/nccloud/resources/spr':{ | ||||
| 					target: configJSON.proxy, | ||||
| 					pathRewrite:{ | ||||
| 						'^/nccloud/resources/spr':'/spr' | ||||
| 					} | ||||
| 				}, | ||||
| 				// 请求代理
 | ||||
| 				'/nccloud': { | ||||
| 					target: configJSON.proxy, | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue