From 5c67eef61c4fc64939ad513447970a01c5fec05e Mon Sep 17 00:00:00 2001 From: ION606 Date: Sun, 15 Dec 2024 12:23:52 -0500 Subject: [PATCH] te --- main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.js b/main.js index 025bab9..2671f93 100644 --- a/main.js +++ b/main.js @@ -86,7 +86,7 @@ app.get('/logout', (req, res) => { // when a websocket is opened at /shell-ws, spawn a fish shell in a pty app.ws('/shell-ws', (ws, req) => { // spawn a fish shell using node-pty with a pseudo-terminal - const shell = spawn('su', ['-', 'ion606', '-s', 'fish'], { + const shell = spawn('su', ['-', 'ion606', '-s', '/usr/bin/fish'], { cols: 80, rows: 24, cwd: process.env.HOME,