Minor patch

This commit is contained in:
Carlos
2019-08-17 12:56:18 +02:00
parent 716221c678
commit 99ab72ec98
3 changed files with 6 additions and 5 deletions

View File

@ -124,7 +124,7 @@
</div>
<div class="form-group">
<label for="server-port" class="col-form-label">Server port:</label>
<input type="text" class="form-control" id="server-port" placeholder="8080">
<input type="number" class="form-control" id="server-port" placeholder="8080">
</div>
<div class="form-check">
<input class="form-check-input" type="checkbox" id="server-ssl">

View File

@ -85,7 +85,7 @@ function onWebSocketsMessage(message){
console.log(message);
//Add interval for Players, CPU and RAM info, if not set
if(statusCommandsInterval == -1){
if(statusCommandsInterval == -1 && message.status !== 401){
statusCommandsInterval = setInterval(function(){
connectionManager.askForInfo();
}, 2500);