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() {
|
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