feat(sync): cn event coverage, bootstrap and outbox sender
Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
@@ -14,6 +14,10 @@ import { configureApp } from './shared/configure-app';
|
||||
async function bootstrap(): Promise<void> {
|
||||
const app = await NestFactory.create<NestExpressApplication>(AppOvModule, {
|
||||
bufferLogs: true,
|
||||
// 内部 sync 端点(content-batches)HMAC 验签需要「原始请求体字节」:
|
||||
// rawBody 让 body-parser 在 JSON 解析前把 Buffer 挂到 req.rawBody
|
||||
// (InternalSyncGuard 读取)。发送器对同一字符串只签一次、原样发送。
|
||||
rawBody: true,
|
||||
});
|
||||
app.useLogger(app.get(Logger));
|
||||
configureApp(app);
|
||||
|
||||
Reference in New Issue
Block a user