Fix server detection

This commit is contained in:
Ben Goldsworthy 2020-11-28 19:51:44 +00:00
parent 24b5c8e0e4
commit 3fb5428e8c

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