Skip to content

Commit e81ceac

Browse files
fixup! refactor(device): Remove smartcard device
1 parent 3a3597f commit e81ceac

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

client/electron/src/cspRules.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,9 @@ export function setupContentSecurityPolicy(customScheme: string): void {
310310

311311
if (!matchingRule) {
312312
log.error(
313-
`No CSP rule found for protocol: ${url.protocol}, host: ${url.host}, path: ${url.pathname.substring(0, 100)}${url.pathname.length > 100 ? '...' : ''}`,
313+
`No CSP rule found for protocol: ${url.protocol}, host: ${url.host}, path: ${url.pathname.substring(0, 100)}${
314+
url.pathname.length > 100 ? '...' : ''
315+
}`,
314316
);
315317
// Apply a strict CSP to block potentially dangerous resources
316318
responseHeaders['Content-Security-Policy'] = ["default-src 'none'"];

0 commit comments

Comments
 (0)