Skip to content

Commit 9cd9160

Browse files
fix: Include URI path in web server diagnostic events (serverpod#3340)
1 parent ac1fb22 commit 9cd9160

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/serverpod/lib/src/server/diagnostic_events/operation_context_helpers.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ WebCallOpContext _fromWebCall(
9494
userAuthInfo: session.authInfoOrNull,
9595
sessionId: session.sessionId,
9696
connectionInfo: _safeHttpToConnInfo(httpRequest?.connectionInfo),
97-
uri: httpRequest?.uri ?? Uri.http('localhost'),
97+
uri: httpRequest?.uri ?? Uri.http('', session.endpoint),
9898
);
9999

100100
MethodCallOpContext _fromMethodCall(

0 commit comments

Comments
 (0)