diff --git a/electron/index.html b/electron/index.html
deleted file mode 100644
index aaacce7b..00000000
--- a/electron/index.html
+++ /dev/null
@@ -1,19 +0,0 @@
-
-
-
-
-
-
-
- Hello World!
-
-
- Hello World!
- We are using Node.js ,
- Chromium ,
- and Electron .
-
-
-
-
-
\ No newline at end of file
diff --git a/electron/main.js b/electron/main.js
index 36e691a1..589701f2 100644
--- a/electron/main.js
+++ b/electron/main.js
@@ -15,7 +15,7 @@ function createWindow() {
},
});
// and load the index.html of the app.
- mainWindow.loadFile("electron/index.html");
+ mainWindow.loadURL("http://localhost:1337");
console.log("window created");
// Open the DevTools.
diff --git a/electron/renderer.js b/electron/renderer.js
index e69de29b..d3bdade6 100644
--- a/electron/renderer.js
+++ b/electron/renderer.js
@@ -0,0 +1,6 @@
+// This file is required by the index.html file and will
+// be executed in the renderer process for that window.
+// No Node.js APIs are available in this process because
+// `nodeIntegration` is turned off. Use `preload.js` to
+// selectively enable features needed in the rendering
+// process.