-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
26 lines (24 loc) · 985 Bytes
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<!doctype html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta charset="UTF-8" />
<link rel="stylesheet" href="/src/app/renderer/index.css" />
<!-- https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP -->
<!--
- default-src 'self';: Allows loading resources (e.g., JavaScript, CSS, images, etc.) only from the same origin as the document.
- script-src 'self';: Allows executing scripts only from the same origin as the document.
- style-src 'self';: Allows loading stylesheets only from the same origin as the document.
-->
<meta
http-equiv="Content-Security-Policy"
content="default-src 'self'; script-src 'self'; style-src 'self'"
/>
<title>Electron Widgets</title>
</head>
<body>
<div id="app"></div>
<!-- Scripts are separated into their own files for organization -->
<script type="module" src="/src/app/renderer/renderer.ts"></script>
</body>
</html>