Skip to content

Commit

Permalink
Update LabelerServer.php
Browse files Browse the repository at this point in the history
  • Loading branch information
puklipo committed Dec 25, 2024
1 parent 95094d2 commit dbad663
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Labeler/LabelerServer.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ public function start(): void
} catch (LabelerException) {
$connection->send(new Response(403, [], 'Forbidden'));
}
} else if (Str::endsWith($path, '/xrpc/_health')) {
$connection->send(new Response(200, [], app()->version()));
} else {
$connection->send(new Response(404, [], 'Not Found'));
}
Expand Down

0 comments on commit dbad663

Please sign in to comment.