squelch ts error
This commit is contained in:
parent
c1b11a6668
commit
3570e36baa
@ -7,6 +7,10 @@
|
||||
* redirect to pages inside the extension that are a web-accessible resource.
|
||||
*/
|
||||
|
||||
|
||||
const myUrl = new URL(window.location.href);
|
||||
window.location.replace(myUrl.searchParams.get("url"));
|
||||
const redirectUrl = myUrl.searchParams.get("url");
|
||||
if (!redirectUrl) {
|
||||
console.error("missing redirect URL");
|
||||
} else {
|
||||
window.location.replace(redirectUrl);
|
||||
}
|
||||
|
@ -66,6 +66,7 @@
|
||||
"src/webex/pages/logs.tsx",
|
||||
"src/webex/pages/payback.tsx",
|
||||
"src/webex/pages/popup.tsx",
|
||||
"src/webex/pages/redirect.js",
|
||||
"src/webex/pages/refund.tsx",
|
||||
"src/webex/pages/reset-required.tsx",
|
||||
"src/webex/pages/return-coins.tsx",
|
||||
|
Loading…
Reference in New Issue
Block a user