Verified Commit c33f1a7f authored by Raphael Ochsenbein's avatar Raphael Ochsenbein
Browse files

call api on http

parent f1d38923
Pipeline #638 passed with stages
in 1 minute and 43 seconds
......@@ -149,12 +149,12 @@ export class AppComponent implements OnDestroy {
}
apiCall(api: string) {
this.urlCall(this.getApi(this.getUrl(api), api));
this.urlCall(this.getApi(this.getUrl(), api));
}
getUrl(api: string) {
getUrl() {
if (environment.production) {
return 'https://openid.akehir.com:55001';
return 'http://openid.akehir.com:55001';
}
return 'http://localhost:55001';
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment