Skip to content

Instantly share code, notes, and snippets.

View pschaeffer's full-sized avatar

Peter Schaeffer pschaeffer

View GitHub Profile
@pschaeffer
pschaeffer / index.html
Created November 13, 2023 05:18
This gist should reproduce electron problem 40498
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Hello World!</title>
<!-- https://electronjs.org/docs/tutorial/security#csp-meta-tag -->
<meta http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-inline';" />
</head>
<body>
<h1>Hello World!</h1>