Skip to content

Commit 6b55874

Browse files
committed
Merge branch 'preload' of https://github.com/oslabs-beta/Swell into preload
2 parents 4f1967d + a0f334b commit 6b55874

File tree

5 files changed

+5505
-13
lines changed

5 files changed

+5505
-13
lines changed

index-csp.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@
1010

1111
<body></body>
1212

13-
</html>
13+
</html>

main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Allow self-signing HTTPS over TLS
2-
process.env.NODE_TLS_REJECT_UNAUTHORIZED = 0;
2+
process.env.NODE_TLS_REJECT_UNAUTHORIZED = 1;
33
// Allow self-signing HTTPS over TLS
44
// Disabling Node's rejection of invalid/unauthorized certificates
55
// process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0";
@@ -205,7 +205,7 @@ function createWindow() {
205205
backgroundColor: "-webkit-linear-gradient(top, #3dadc2 0%,#2f4858 100%)",
206206
show: false,
207207
title: "Swell",
208-
allowRunningInsecureContent: true,
208+
// allowRunningInsecureContent: true,
209209
webPreferences: {
210210
nodeIntegration: false,
211211
contextIsolation: true,

0 commit comments

Comments
 (0)