This commit is contained in:
2024-12-15 12:23:01 -05:00
parent 9758f412b5
commit 4bf9f957e6
+1 -1
View File
@@ -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', ['-', '/usr/bin/fish', '-s', 'fish'], {
const shell = spawn('su', ['-', 'ion606', '-s', 'fish'], {
cols: 80,
rows: 24,
cwd: process.env.HOME,