Skip to content

Commit

Permalink
test fix conf error json
Browse files Browse the repository at this point in the history
  • Loading branch information
Jorand committed Jan 7, 2021
1 parent 4fee9c2 commit fa0d888
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,7 @@
}

.top {

display: block;
}

#serialPort {
Expand Down
2 changes: 1 addition & 1 deletion client/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ useSerial = nconf.get(`Config${PlayerID}:useSerial`) || false;
useTCP = nconf.get(`Config${PlayerID}:useTCP`) || false;

function saveConf() {
nconf.load();
//nconf.load();
nconf.set(`Config${PlayerID}:useSerial`, useSerial);
nconf.set(`Config${PlayerID}:port`, arduinoPort);
nconf.set(`Config${PlayerID}:useTCP`, useTCP);
Expand Down

0 comments on commit fa0d888

Please sign in to comment.