Harden client and WebSocket proxy

This commit is contained in:
2026-09-09 13:04:56 +02:00
parent f4f95ffff4
commit 8986f6270f
64 changed files with 4410 additions and 7313 deletions
+3 -3
View File
@@ -8,7 +8,7 @@ const __dirname = dirname(fileURLToPath(import.meta.url));
console.log('Starting WebSocket server');
const wsServer = spawn('node', ['src/websocket-server.js'], {
stdio: 'inherit',
shell: true,
shell: false,
cwd: __dirname
});
@@ -16,7 +16,7 @@ const wsServer = spawn('node', ['src/websocket-server.js'], {
console.log('Starting SvelteKit production server');
const sveltekit = spawn('node', ['build/index.js'], {
stdio: 'inherit',
shell: true,
shell: false,
cwd: __dirname
});
@@ -41,4 +41,4 @@ process.on('SIGTERM', () => {
wsServer.kill('SIGTERM');
sveltekit.kill('SIGTERM');
process.exit(0);
});
});