Skip to content

Commit

Permalink
Fix issue running version command
Browse files Browse the repository at this point in the history
  • Loading branch information
antonym committed Aug 4, 2024
1 parent db56e90 commit 55e2554
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ io.on('connection', function(socket){
///////////////////////////
// When dashboard info is requested send to client
socket.on('getdash', function(){
var tftpcmd = '/usr/sbin/dnsmasq --version | head -n1 | cut -d ' ' -f 1-3';
var tftpcmd = '/usr/sbin/dnsmasq --version | head -n1';
var nginxcmd = '/usr/sbin/nginx -v';
var dashinfo = {};
dashinfo['webversion'] = version;
Expand Down Expand Up @@ -358,4 +358,4 @@ if (!Number.isInteger(Number(port)) || port < 1 || port > 65535) {

http.listen(port, function(){
console.log('listening on *:' + port);
});
});
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "WebApp",
"version": "0.7.2",
"version": "0.7.3",
"description": "Configuration and mirroring application for netboot.xyz stack",
"main": "app.js",
"scripts": {
Expand Down

0 comments on commit 55e2554

Please sign in to comment.