Fix server detection
This commit is contained in:
parent
24b5c8e0e4
commit
3fb5428e8c
1 changed files with 3 additions and 2 deletions
|
@ -42,9 +42,10 @@ export class ApiService {
|
||||||
}
|
}
|
||||||
|
|
||||||
public checkDatabaseConnection() {
|
public checkDatabaseConnection() {
|
||||||
|
const key = this.sessionKey;
|
||||||
return this.http.post<any>(
|
return this.http.post<any>(
|
||||||
this.apiUrl,
|
this.apiUrl + '/test-connection',
|
||||||
null
|
{ session_key: key }
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in a new issue