Skip to content

Commit

Permalink
gross
Browse files Browse the repository at this point in the history
  • Loading branch information
paulirish committed Oct 24, 2024
1 parent 98abf7d commit 9a0f1c4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/timeline_viewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -245,8 +245,9 @@ class Viewer {

// monkeypatched method for devtools
async fetchPatched(...args) {
const requestedURL = args.at(0);
const url = new URL(requestedURL, location.href).replace('/o/traces/', '/o/traces%2F');
const requestedURL = args.at(0).replace('/o/traces/', '/o/traces%2F');
args[0] = requestedURL;
const url = new URL(requestedURL, location.href);

// pass through URLs that aren't our timelineURL param
if (requestedURL !== this.timelineURL) {
Expand Down

0 comments on commit 9a0f1c4

Please sign in to comment.