Compare commits

..
Author SHA1 Message Date
Hermes 9779feae70 Merge feature/dc-061-websocket-auth: HMAC-verify dashboard WS auth + listener isolation
CI / Security audit (push) Canceled after 0s
CI / Test & Lint (push) Canceled after 0s
2026-08-18 08:23:52 -07:00
2 changed files with 2 additions and 4 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ process.on('uncaughtException', (error) => {
// .on() on a class threw on every boot and silently killed the WS).
try {
const { ctx } = app.locals;
const createDashboardWS = require('./src/websocket/dashboard-ws').createDashboardWS;
const createDashboardWS = require('./src/websocket/dashboard-ws');
// DC-061: WS upgrade bypasses Express middleware, so inject the
// real session verifier from the shared context. Without this
+1 -3
View File
@@ -331,6 +331,4 @@ function createDashboardWS(server, deps = {}) {
};
}
module.exports = createDashboardWS;
module.exports.createDashboardWS = createDashboardWS;
module.exports.parseCookieHeader = parseCookieHeader;
module.exports = { createDashboardWS, parseCookieHeader };