치지직 채팅창 인식 추가 및 주사위 횟수 증가 추가.

This commit is contained in:
kimyu
2026-09-16 02:21:39 +09:00
parent 171a4e19f6
commit 7c402dfd8f
22 changed files with 2133 additions and 90 deletions

13
app/api/rooms/route.ts Normal file
View File

@@ -0,0 +1,13 @@
import { NextResponse } from 'next/server';
import { createRoom, toPublicRoom } from '@/lib/rooms/store';
export const runtime = 'nodejs';
/** 치지직·채팅 연동 없이 수동 굴림 룸 생성 */
export async function POST(_request: Request) {
const room = createRoom({
chzzkEnabled: false,
});
return NextResponse.json({ room: toPublicRoom(room), reused: false });
}