Skip to content

Commit

Permalink
Merge pull request #35 from equinor/fix/added-check-for-enviroments
Browse files Browse the repository at this point in the history
🔧 Change to go to different env and not only production for impersonate
  • Loading branch information
AmandaElvkull authored Sep 11, 2024
2 parents ae748d5 + 6feddab commit 5ae37fc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/api/core/OpenAPI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 5ae37fc

Please sign in to comment.