fixed start/stop

This commit is contained in:
DJ2LS 2023-09-10 14:23:26 +02:00
parent 5de47ce6b8
commit 0a808ea69a
3 changed files with 2 additions and 21 deletions

View file

@ -31,7 +31,7 @@
"sass": "^1.66.1",
"socket.io": "^4.7.2",
"uuid": "^9.0.0",
"vue": "^3.2.47",
"vue": "^3.3.4",
"winston": "^3.10.0"
},
"devDependencies": {

View file

@ -29,26 +29,7 @@ import main_active_audio_level from './main_active_audio_level.vue'
import {startTNC, stopTNC} from '../js/daemon.js'
function startStopTNC(){
switch (state.tnc_running_state) {
case 'stopped':
startTNC()
break;
case 'running':
stopTNC()
break;
default:
}
}

View file

@ -2,7 +2,7 @@
//const fs = require("fs");
//const os = require("os");
import path from 'path'
import path from 'node:path'
import fs from 'fs'
import os from 'os'