Skip to content

Commit

Permalink
fix: SKFP-888 resolve PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
aperron-ferlab committed Feb 15, 2024
1 parent dfe62a3 commit bad4d55
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/services/api/cavatica/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// import EnvironmentVariables from 'helpers/EnvVariables';
import EnvironmentVariables from 'helpers/EnvVariables';

import { sendRequest } from 'services/api';

Expand All @@ -13,10 +13,9 @@ import {
ICavaticaProjectNode,
} from './models';

// const KEY_MANAGER_API_URL = EnvironmentVariables.configFor('KEY_MANAGER_API_URL');
// const CAVATICA_FENCE_PROXY = EnvironmentVariables.configFor('CAVATICA_FENCE_PROXY');
// const CAVATICA_PROXY_URL = `${KEY_MANAGER_API_URL}/${CAVATICA_FENCE_PROXY}/v2`;
const CAVATICA_PROXY_URL = `http://localhost:5000/mock/cavatica2/v2`;
const KEY_MANAGER_API_URL = EnvironmentVariables.configFor('KEY_MANAGER_API_URL');
const CAVATICA_FENCE_PROXY = EnvironmentVariables.configFor('CAVATICA_FENCE_PROXY');
const CAVATICA_PROXY_URL = `${KEY_MANAGER_API_URL}/${CAVATICA_FENCE_PROXY}/v2`;

const headers = () => ({
'Content-Type': 'application/json',
Expand Down

0 comments on commit bad4d55

Please sign in to comment.