Skip to content

Commit

Permalink
GH-1155: More simplification on the backend endpoint.
Browse files Browse the repository at this point in the history
Signed-off-by: Akos Kitta <kittaakos@gmail.com>
  • Loading branch information
kittaakos committed Feb 2, 2018
1 parent fdb9f86 commit 0206077
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions packages/core/src/node/backend-connection-status.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,8 @@ import { BackendApplicationContribution } from './backend-application';
@injectable()
export class BackendConnectionStatusEndpoint implements BackendApplicationContribution {

protected app: express.Application | undefined;

configure(app: express.Application): void {
this.app = app;
}

onStart(): void {
this.app!.get('/alive', (request, response) => response.send());
app.get('/alive', (request, response) => response.send());
}

}

0 comments on commit 0206077

Please sign in to comment.