Skip to content

Commit 5dad543

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents 9eda646 + f908f21 commit 5dad543

File tree

3 files changed

+9260
-666
lines changed

3 files changed

+9260
-666
lines changed

electron/main.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ function createWindow() {
2323
const fileServer = express();
2424
fileServer.use('/', express.static(__dirname), serveIndex(__dirname));
2525

26-
const PORT = 61699;
27-
fileServer.listen(PORT, () => {
26+
const PORT = 3000;
27+
fileServer.listen(PORT, '127.0.0.1', () => {
2828
console.log(`File server running at http://localhost:${PORT}`);
2929
});
3030

@@ -330,7 +330,7 @@ function createWindow() {
330330

331331
const outPath = path.resolve(__dirname, 'out.wasm');
332332
fs.writeFile(outPath, newBinary, (err) => {
333-
callback({ redirectURL: `http://localhost:61699/out.wasm` });
333+
callback({ redirectURL: `http://localhost:3000/out.wasm` });
334334
});
335335
} catch (err) {
336336
console.error('WASM patch error', err);

0 commit comments

Comments
 (0)