From 0027f6deda2a2fd364130a3d1ba4d2d4e8c37770 Mon Sep 17 00:00:00 2001 From: NilaTheDragon Date: Fri, 26 Jul 2024 13:03:30 +0200 Subject: [PATCH] New Secrets --- src/RequestService.ts | 2 +- src/onStarAppConfig.json | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/RequestService.ts b/src/RequestService.ts index 717181d2..bbb7f50a 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 442d55c0..18e45606 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