diff --git a/packages/trace-viewer/src/ui/uiModeTraceView.tsx b/packages/trace-viewer/src/ui/uiModeTraceView.tsx index 71f9e2e23c..33c3afff4a 100644 --- a/packages/trace-viewer/src/ui/uiModeTraceView.tsx +++ b/packages/trace-viewer/src/ui/uiModeTraceView.tsx @@ -126,7 +126,7 @@ function formatUrl(traceURL: URL) { } function filePathToTraceURL(path: string) { - const url = new URL('/trace/file', location.href); + const url = new URL('file', location.href); url.searchParams.set('path', path); return url; }