change onpoint base url
This commit is contained in:
		
							parent
							
								
									26390c4633
								
							
						
					
					
						commit
						7343221d5e
					
				| 
						 | 
					@ -1,7 +1,8 @@
 | 
				
			||||||
package onpoint
 | 
					package onpoint
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const (
 | 
					const (
 | 
				
			||||||
	baseURLStaging = "https://dev-api.onpoint.vn"
 | 
						baseURLStaging = "https://dev-selly-api.onpoint.vn"
 | 
				
			||||||
 | 
						baseURLProd    = "https://selly-api.onpoint.vn"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	apiPathCreateOrder    = "/v1/orders"
 | 
						apiPathCreateOrder    = "/v1/orders"
 | 
				
			||||||
	apiPathUpdateDelivery = "/v1/orders/delivery/update"
 | 
						apiPathUpdateDelivery = "/v1/orders/delivery/update"
 | 
				
			||||||
| 
						 | 
					@ -18,7 +19,7 @@ const (
 | 
				
			||||||
 | 
					
 | 
				
			||||||
var (
 | 
					var (
 | 
				
			||||||
	baseURLENVMapping = map[ENV]string{
 | 
						baseURLENVMapping = map[ENV]string{
 | 
				
			||||||
		// EnvProd:    baseURLProd,
 | 
							EnvProd:    baseURLProd,
 | 
				
			||||||
		EnvStaging: baseURLStaging,
 | 
							EnvStaging: baseURLStaging,
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue