Update app.js

This commit is contained in:
甬哥侃侃侃ygkkk
2025-03-21 14:58:06 +08:00
committed by GitHub
parent 6da30a86ac
commit 94ca982b17
+1 -1
View File
@@ -60,7 +60,7 @@ app.get("/list/key", (req, res) => {
const listCommands = ` const listCommands = `
USERNAME=$(whoami | tr '[:upper:]' '[:lower:]') USERNAME=$(whoami | tr '[:upper:]' '[:lower:]')
FULL_PATH="/\${HOME}/domains/\${USERNAME}.serv00.net/logs/list.txt" FULL_PATH="\${HOME}/domains/\${USERNAME}.serv00.net/logs/list.txt"
cat "\$FULL_PATH" cat "\$FULL_PATH"
`; `;
exec(listCommands, (err, stdout, stderr) => { exec(listCommands, (err, stdout, stderr) => {