Skip to content

Commit 42c519f

Browse files
fix: Respond to /health with a proper HTML (#925)
1 parent 549702f commit 42c519f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

WebDriverAgentLib/Routing/FBWebServer.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ - (void)handleException:(NSException *)exception forResponse:(RouteResponse *)re
217217
- (void)registerServerKeyRouteHandlers
218218
{
219219
[self.server get:@"/health" withBlock:^(RouteRequest *request, RouteResponse *response) {
220-
[response respondWithString:@"I-AM-ALIVE"];
220+
[response respondWithString:@"<!DOCTYPE html><html><title>Health Check</title><body><p>I-AM-ALIVE</p></body></html>"];
221221
}];
222222

223223
NSString *calibrationPage = @"<html>"

0 commit comments

Comments
 (0)