We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 821dac2 commit 00b37adCopy full SHA for 00b37ad
web/src/signalr-web/SignalRMiddleware/EventApp/src/app/configuration/configuration.service.ts
@@ -9,7 +9,8 @@ export class ConfigurationService {
9
constructor(private http: HttpClient) { }
10
11
loadConfig() {
12
- return this.http.get<IAppInsightsConfiguration>('https://crwebsssrtmrepszkp.azurewebsites.net/api/applicationsetting')
+ var appsetting_get_url = location.origin + "/api/applicationsetting";
13
+ return this.http.get<IAppInsightsConfiguration>(appsetting_get_url)
14
.toPromise()
15
.then(result => {
16
this.configuration = <IAppInsightsConfiguration>(result);
0 commit comments