Skip to content

Commit

Permalink
Merge pull request #14 from Sanketika-Obsrv/test-web-console
Browse files Browse the repository at this point in the history
#OBS-I280 : removed default base url
  • Loading branch information
HarishGangula authored Oct 22, 2024
2 parents d551556 + bf2ef37 commit bd97ec4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ lerna-debug.log*

# production
/build
/buildV2
/src/buildV2
/dist

# Logs
Expand Down
2 changes: 1 addition & 1 deletion client/src/services/configData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ export const getConfigValue = (variable: string) => {
};

export const getBaseURL = () => {
const baseUrl = getConfigValue('BASE_URL') || process.env.REACT_APP_BASE_URL || '';
const baseUrl = getConfigValue('BASE_URL') || process.env.REACT_APP_BASE_URL || '/console';
return baseUrl;
};

0 comments on commit bd97ec4

Please sign in to comment.