Skip to content

Commit 87bba95

Browse files
committed
Remove extra / from tw-extensions:// URL rewriting
1 parent a7134d5 commit 87bba95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src-main/windows/project-running-window.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ class ProjectRunningWindow extends AbtractWindow {
124124
if (parsed.origin === 'https://extensions.turbowarp.org') {
125125
const pathname = parsed.pathname.endsWith('/') ? `${parsed.pathname}index.html` : parsed.pathname;
126126
return callback({
127-
redirectURL: `tw-extensions://./${pathname}`
127+
redirectURL: `tw-extensions://.${pathname}`
128128
});
129129
}
130130

0 commit comments

Comments
 (0)