Skip to content

Commit a3a5fad

Browse files
committed
chore: cleanup redundant code
1 parent b98a0da commit a3a5fad

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

apps/extension/lib/handle-tlink-api.ts

-5
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,6 @@ export async function handleTlinkApiRequest(method: string, payload: any) {
1010
}
1111
case "getTurnstileToken":
1212
case "getRecaptchaToken":
13-
/*return await chrome.runtime.sendMessage({
14-
type: "TLINK_API_REQUEST",
15-
method,
16-
payload
17-
})*/
1813
return await handleTlinkApiViaTSViewerWindow(method, payload);
1914
}
2015

apps/extension/wxt.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export default defineConfig({
2626
content_security_policy: {
2727
extension_pages: "script-src 'self'; object-src 'self';",
2828
sandbox:
29-
"sandbox allow-scripts allow-forms allow-popups allow-popups-to-escape-sandbox allow-modals; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://www.google.com/ https://www.gstatic.com/ https://recaptcha.google.com/ https://challenges.cloudflare.com/; child-src 'self' https://viewer.tokenscript.org/ https://viewer-staging.tokenscript.org/ http://localhost:3333/ https://www.google.com/ https://challenges.cloudflare.com/; worker-src 'self' https://www.google.com/;"
29+
"sandbox allow-scripts allow-forms allow-popups allow-popups-to-escape-sandbox allow-modals; script-src 'self' 'unsafe-inline' 'unsafe-eval'; child-src 'self' https://viewer.tokenscript.org/ https://viewer-staging.tokenscript.org/ http://localhost:3333/;"
3030
}
3131
},
3232
modules: ["@wxt-dev/module-react"]

0 commit comments

Comments
 (0)