Commit d7e08c8b authored by Christopher Cottier's avatar Christopher Cottier

update api endpoints to reflect current kubernetes service endpoints

parent 0cd71401
...@@ -13,9 +13,9 @@ security.enable-csrf=false ...@@ -13,9 +13,9 @@ security.enable-csrf=false
#orders.apiUrl=http://138.91.251.222:8086 #orders.apiUrl=http://138.91.251.222:8086
# UNCOMMENT FOR PRODUCTION DEPLOYMENT # UNCOMMENT FOR PRODUCTION DEPLOYMENT
products.apiUrl=http://13.64.175.185:8080 products.apiUrl=http://10.0.148.232:8083
promos.apiUrl=http://40.118.215.99:8082 promos.apiUrl=http://10.0.191.126:8082
orders.apiUrl=http://138.91.251.222:8086 orders.apiUrl=http://10.0.246.138:8086
# UNCOMMENT FOR LOCAL TESTING # UNCOMMENT FOR LOCAL TESTING
#products.apiUrl=http://localhost:8083 #products.apiUrl=http://localhost:8083
......
class Config { class Config {
static baseApiUrl = "http://13.93.237.130:8084"; //env file static baseApiUrl = "http://13.91.251.233:8084"; //env file
//static baseApiUrl = "http://localhost:8080"; //env file //static baseApiUrl = "http://localhost:8080"; //env file
static orderHistoryApiUrlMethod = (userId) => `${this.baseApiUrl}/api/orders/byUser/${userId}`; static orderHistoryApiUrlMethod = (userId) => `${this.baseApiUrl}/api/orders/byUser/${userId}`;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment