diff --git a/src/RequestService.ts b/src/RequestService.ts index 717181d..bbb7f50 100644 --- a/src/RequestService.ts +++ b/src/RequestService.ts @@ -269,7 +269,7 @@ class RequestService { Accept: "application/json", "Accept-Language": "en-US", "Content-Type": request.getContentType(), - Host: "api.gm.com", + Host: "na-mobile-api.gm.com", Connection: "keep-alive", "Accept-Encoding": "br, gzip, deflate", "User-Agent": onStarAppConfig.userAgent, diff --git a/src/onStarAppConfig.json b/src/onStarAppConfig.json index 442d55c..18e4560 100644 --- a/src/onStarAppConfig.json +++ b/src/onStarAppConfig.json @@ -1,8 +1,8 @@ { - "appId": "OMB_CVY_iOS_6Y2", - "appSecret": "KXbtAmTMVT9Pczz8UkhLSu3RHrjevKgLecwD", + "appId": "OMB_CVY_iOS_6Z0", + "appSecret": "tCujQXR8nvPhewodWMPrUNExBK4dmCmBAfMb", "optionalClientScope": "", "requiredClientScope": "onstar gmoc user_trailer user priv", - "serviceUrl": "https://api.gm.com", + "serviceUrl": "https://na-mobile-api.gm.com", "userAgent": "myChevrolet/118 CFNetwork/1408.0.4 Darwin/22.5.0" } \ No newline at end of file