Skip to content

Commit c13e8a8

Browse files
committed
I have to change the json
1 parent 397bf14 commit c13e8a8

2 files changed

Lines changed: 1 addition & 8 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
}
3939
},
4040
"scripts": {
41-
"start": "node index.js",
41+
"start": "node index.js ",
4242
"dev": "node index.js -d",
4343
"app": "electron .",
4444
"build-win": "electron-builder --win --publish=never && npx -y --quiet nexe --build",

src/index.html

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -214,14 +214,8 @@ <h1>EmulatorJS Netplay Server</h1>
214214
function server(){
215215
if (startstop.textContent === 'Start'){
216216
startstopserver("start");
217-
while(startstop.textContent === 'Start'){
218-
check();
219-
}
220217
}else if(startstop.textContent === 'Stop'){
221218
startstopserver("stop");
222-
while(startstop.textContent === 'Stop'){
223-
check();
224-
}
225219
}
226220
update();
227221
}
@@ -251,7 +245,6 @@ <h1>EmulatorJS Netplay Server</h1>
251245
}else{
252246
console.error("Error!");
253247
}
254-
update();
255248
});
256249
}
257250
setInterval(function(){

0 commit comments

Comments
 (0)