From 6fa206f2f0bbd606443944f148a2b524a300200a Mon Sep 17 00:00:00 2001 From: Amanda Elvkull Date: Wed, 11 Sep 2024 14:36:51 +0200 Subject: [PATCH 1/2] :wrench: Change to go to different envoriments and not only production --- src/api/core/OpenAPI.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/core/OpenAPI.ts b/src/api/core/OpenAPI.ts index 6aaf4a7..17662d7 100644 --- a/src/api/core/OpenAPI.ts +++ b/src/api/core/OpenAPI.ts @@ -135,7 +135,7 @@ export const OpenAPI_Portal_Prod: OpenAPIConfig = { }; export const OpenAPI_userImpersonate: OpenAPIConfig = { - BASE: `https://api-amplify-portal-production.radix.equinor.com`, + BASE: `https://api-amplify-portal-${noLocalhostEnvironmentName}.radix.equinor.com`, VERSION: '1.0', WITH_CREDENTIALS: false, CREDENTIALS: 'include', From 6feddab3bb9f29f6fa764d1b4698e7f967b6dda2 Mon Sep 17 00:00:00 2001 From: Amanda Elvkull Date: Wed, 11 Sep 2024 14:37:06 +0200 Subject: [PATCH 2/2] :bookmark: Bumped to 1.11.13 --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 49dd218..d30bf53 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@equinor/subsurface-app-management", - "version": "1.1.12", + "version": "1.1.13", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@equinor/subsurface-app-management", - "version": "1.1.12", + "version": "1.1.13", "license": "ISC", "dependencies": { "@azure/msal-browser": "3.10.0", diff --git a/package.json b/package.json index 2129c8c..2639e9c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@equinor/subsurface-app-management", - "version": "1.1.12", + "version": "1.1.13", "description": "React Typescript components/hooks to communicate with equinor/sam", "types": "dist/index.d.ts", "type": "module",