We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8dab200 commit 6060239Copy full SHA for 6060239
lib/src/server.dart
@@ -139,6 +139,11 @@ FutureOr<Response> _routeRequest(
139
print('DEBUG: Headers: ${request.headers}');
140
141
// Handle special Node.js-compatible endpoints
142
+ if (requestPath == '__/health') {
143
+ // Health check endpoint (used by Firebase emulator)
144
+ return Response.ok('OK');
145
+ }
146
+
147
if (requestPath == '__/quitquitquit') {
148
// Graceful shutdown endpoint (used by Cloud Run)
149
return _handleQuitQuitQuit(request);
0 commit comments