feat: implement Opus decoder runtime checks and add tests for decoder functionality

This commit is contained in:
MythEclipse
2026-05-13 18:56:44 +07:00
parent 4dadcf3871
commit 220c3b93d2
4 changed files with 77 additions and 7 deletions
+6 -2
View File
@@ -57,8 +57,12 @@ export function startWebserver(
const wss = new WebSocketServer({ server, path: wsPath });
wsLogger.info({ port, wsPath }, "WebSocket server listening");
// Security headers
app.use(helmet());
// Security headers. CSP disabled because the current static UI uses inline scripts/styles.
app.use(
helmet({
contentSecurityPolicy: false,
}),
);
// HTTP request logging
app.use(pinoHttp({ logger }));