From e77d0fe73f3d4ec01e8bc1ba7af4ce7a0c1c3614 Mon Sep 17 00:00:00 2001 From: "Rob Swindell (on Debian Linux)" <rob@synchro.net> Date: Mon, 25 Sep 2023 00:08:38 -0700 Subject: [PATCH] Use system.temp_dir (configurable by sysop) instead of system.temp_path Fixes issue #648 --- exec/websocketservice.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exec/websocketservice.js b/exec/websocketservice.js index bc1bedf7e4..1cc5b3335b 100644 --- a/exec/websocketservice.js +++ b/exec/websocketservice.js @@ -93,7 +93,7 @@ try { log(LOG_DEBUG, "Connecting to " + TargetHostname + ":" + TargetPort); if (FServerSocket.connect(TargetHostname, TargetPort)) { - ipFile = new File(system.temp_path + 'sbbs-ws-' + FServerSocket.local_port + '.ip'); + ipFile = new File(system.temp_dir + 'sbbs-ws-' + FServerSocket.local_port + '.ip'); if (ipFile.open('w')) { ipFile.write(client.ip_address); ipFile.close(); -- GitLab