Skip to content

Commit e0b648d

Browse files
author
Chris Hasson
committed
'chore: WIP'
1 parent 278eaef commit e0b648d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/core/webview/ClineProvider.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -685,8 +685,8 @@ export class ClineProvider
685685
`style-src ${webview.cspSource} 'unsafe-inline' https://* http://${localServerUrl} http://0.0.0.0:${localPort}`,
686686
`img-src ${webview.cspSource} https://storage.googleapis.com https://img.clerk.com data: https://*.googleusercontent.com https://*.googleapis.com`, // kilocode_change: add https://*.googleusercontent.com and https://*.googleapis.com
687687
`media-src ${webview.cspSource}`,
688-
`script-src 'unsafe-eval' ${webview.cspSource} https://* https://*.posthog.com http://${localServerUrl} http://0.0.0.0:${localPort} http://localhost:5746/ping/stagewise 'nonce-${nonce}'`,
689-
`connect-src https://* https://*.posthog.com ws://${localServerUrl} ws://0.0.0.0:${localPort} http://${localServerUrl} http://0.0.0.0:${localPort} ws://localhost:* http://localhost:5746/ping/stagewise`,
688+
`script-src 'unsafe-eval' ${webview.cspSource} https://* https://*.posthog.com http://${localServerUrl} http://0.0.0.0:${localPort} http://localhost:5746/ping/stagewise http://localhost:5747/ping/stagewise ws://localhost:5746 ws://localhost:5747 'nonce-${nonce}'`,
689+
`connect-src https://* https://*.posthog.com ws://${localServerUrl} ws://0.0.0.0:${localPort} http://${localServerUrl} http://0.0.0.0:${localPort} ws://localhost:* http://localhost:5746/ping/stagewise http://localhost:5747/ping/stagewise ws://localhost:5746 ws://localhost:5747`,
690690
]
691691

692692
return /*html*/ `

0 commit comments

Comments
 (0)