Skip to content

Commit

Permalink
Changed the env file to the default
Browse files Browse the repository at this point in the history
  • Loading branch information
Parth Kothari committed May 23, 2024
1 parent 06beefe commit c7cfc6a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
20 changes: 10 additions & 10 deletions src/app/services/config/config.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,24 +29,24 @@ import 'rxjs/add/operator/catch';
import 'rxjs/add/operator/map';
import * as config from 'assets/config.json';

const commonIP = 'http://uatamrit.piramalswasthya.org:8080/';
const IP1097 = 'http://uatamrit.piramalswasthya.org:8080/';
const telephonyServerIP = 'https://uatcti.piramalswasthya.org/';
const adminIP = 'http://uatamrit.piramalswasthya.org:8080/';
const commonIP = 'http://10.208.122.38:8080/';
const IP1097 = 'http://10.208.122.38:8080/';
const telephonyServerIP = 'http://10.208.122.99/';
const adminIP = 'http://10.208.122.38:8080/';

@Injectable()
export class ConfigService {

// private _commonBaseURL: String = `${commonIP}commonapi-v1.0/`;
private _commonBaseURL: String = `http://uatamrit.piramalswasthya.org:8080/commonapi-v1.0/`;
private _commonBaseURL: String = `http://10.208.122.38:8080/commonapi-v1.2/`;
// private _commonBaseURL: String=`http://localhost:8080/`;
// private openCommonURL: String = `${commonIP}commonapi-v1.0/`;
private openCommonURL: String = `http://uatamrit.piramalswasthya.org:8080/commonapi-v1.0/`;
private openCommonURL: String = `http://10.208.122.38:8080/commonapi-v1.2/`;
private _helpline1097BaseURL: String = `${IP1097}1097api-v1.0/`;
private _telephonyServerURL: String = `${telephonyServerIP}`;
private _localeString = 'en-in';
private adminBaseUrl = `${adminIP}adminapi-v1.0/`;
private _opencommonBaseURL: String = `${commonIP}commonapi-v1.0/`;
private _opencommonBaseURL: String = `${commonIP}commonapi-v1.2/`;

// private _commonBaseURL: String = 'http://deviemr.piramalswasthya.org:8080/commonapi-v1.0/';
// private _helpline1097BaseURL: String = 'http://deviemr.piramalswasthya.org:8080/1097api-v1.0/';
Expand All @@ -56,9 +56,9 @@ export class ConfigService {
// private adminBaseUrl = 'http://deviemr.piramalswasthya.org:8080/adminapi-v1.0/';

//for APIMAN
// private _commonBaseURL: String = "http://uatamrit.piramalswasthya.org:8080/apiman-gateway/IEMR/Common/1.0/";
// private openCommonURL: String = "http://uatamrit.piramalswasthya.org:8080/apiman-gateway/IEMR/Common/open/";
// private _helpline1097BaseURL: String = 'http://uatamrit.piramalswasthya.org:8080/apiman-gateway/IEMR/1097/1.0/';
// private _commonBaseURL: String = "http://10.208.122.38:8080/apiman-gateway/IEMR/Common/1.0/";
// private openCommonURL: String = "http://10.208.122.38:8080/apiman-gateway/IEMR/Common/open/";
// private _helpline1097BaseURL: String = 'http://10.208.122.38:8080/apiman-gateway/IEMR/1097/1.0/';
// private _commonBaseURL: String = 'http://l-185000861.wipro.com:8080/commonapi-v1.0/';
// private _helpline1097BaseURL: String = 'http://l-185000861.wipro.com:8080/1097api-v1.0/';
// private _telephonyServerURL: String = 'http://10.208.122.99/';
Expand Down
2 changes: 1 addition & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// var baseTag = document.createElement('base');
// baseTag.href = document.location.href;
// document.head.appendChild(baseTag);
// window.console.log = function() {}
window.console.log = function() {}
document.write('<base href="' + document.location + '" />');

Check failure

Code scanning / CodeQL

Client-side cross-site scripting High

Cross-site scripting vulnerability due to
user-provided value
.
window.console.warn = function() {}
</script>
Expand Down

0 comments on commit c7cfc6a

Please sign in to comment.