|
|
@ -97,8 +97,7 @@ fastify.register(async function (fastify: Fastify) {
|
|
|
|
fastify.get(
|
|
|
|
fastify.get(
|
|
|
|
"/live",
|
|
|
|
"/live",
|
|
|
|
async (request, reply) => {
|
|
|
|
async (request, reply) => {
|
|
|
|
const roomId = generateId();
|
|
|
|
return generateId();
|
|
|
|
reply.redirect(`/live/${roomId}`);
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
);
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|