Skip to content

Commit

Permalink
fix(runtime): Route path (#36)
Browse files Browse the repository at this point in the history
Fixes the route path captured by the heartbeat monitor.
  • Loading branch information
dnys1 authored Feb 8, 2024
1 parent 4c96640 commit 8bad570
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions packages/celest/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.2.0-dev.2

- Fix route path in heartbeat monitor

## 0.2.0-dev.1

## 0.2.0-dev
Expand Down
2 changes: 1 addition & 1 deletion packages/celest/lib/src/runtime/serve.dart
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ abstract base class CloudFunctionTarget {

Handler _heartbeatMiddleware(Handler inner) {
return (request) async {
print(request.handlerPath);
print(request.requestedUri.path);
return inner(request);
};
}
Expand Down
2 changes: 1 addition & 1 deletion packages/celest/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: celest
description: The Flutter cloud platform. Celest enables you to build your entire backend in Dart.
version: 0.2.0-dev.1
version: 0.2.0-dev.2
homepage: https://celest.dev
repository: https://github.com/celest-dev/celest/tree/main/packages/celest

Expand Down

0 comments on commit 8bad570

Please sign in to comment.