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