Skip to content

Commit fa0597f

Browse files
committed
More fixup.
1 parent b981c29 commit fa0597f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

browser-extension/tests/har-view.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -317,9 +317,7 @@ function injectGitcassoScript(key: keyof typeof PAGES, html: string) {
317317
console.log('Patching window.location to simulate original URL...');
318318
319319
// Use history.pushState to change the pathname
320-
window.history.pushState({}, '', '` +
321-
urlParts.pathname +
322-
`');
320+
window.history.pushState({}, '', '${urlParts.pathname}');
323321
324322
console.log('Location patched:', {
325323
hostname: window.location.hostname,

0 commit comments

Comments
 (0)