make filepath relative
This commit is contained in:
parent
8137494f36
commit
69ba2d1d66
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue