Fix server detection

This commit is contained in:
Ben Goldsworthy 2020-11-28 19:51:44 +00:00
parent 0d4ec82ed0
commit 2d58603444

View file

@ -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 }
); );
} }