feat(portrait-clearance): 肖像排查 - 增加画布插件与本机检测链路

This commit is contained in:
QAyong
2026-08-26 15:23:01 +08:00
committed by ddCat
parent 86fc3fda2f
commit 9bc5512140
54 changed files with 6832 additions and 60 deletions

View File

@@ -129,7 +129,9 @@ export function signedRuntimeGuard(
proof,
scope,
});
res.locals.runtimeSession = session;
// Keep the public session contract free of origin while exposing the
// already verified origin to module handlers that scope local data.
res.locals.runtimeSession = { ...session, origin };
next();
} catch (error) {
next(error);