diff --git a/.gitignore b/.gitignore index 0fde43f6bd849f8ad84623d502dbf21cdbc6570a..9055c5a38dc53cc269bcc45cbe7c3632ad433bcd 100644 --- a/.gitignore +++ b/.gitignore @@ -7,6 +7,7 @@ build/ server/config.js front/src/config.js +scripts/nfc-poll-wrapper-dummy.sh # *.pub # *.key diff --git a/server/badge.js b/server/badge.js deleted file mode 100644 index 2996ef56728caa3324525e91e783c2b0ce733cf1..0000000000000000000000000000000000000000 --- a/server/badge.js +++ /dev/null @@ -1,18 +0,0 @@ -const path = require('path'); -const { spawn } = require('child_process'); - -const child = spawn(path.resolve(__dirname, '../scripts/nfc-poll-wrapper.sh')); - -child.on('exit', (code, signal) => { - console.log(`child process exited with code ${code} and signal ${signal}`); -}); - -child.stdout.on('data', (data0) => { - const data = data0.toString().trim(); - console.log(`child stdout: ${data}`); -}); - -child.stderr.on('data', (data0) => { - const data = data0.toString().trim(); - console.error(`child stderr: ${data}`); -});