- Introduced "Minhas Intenções" tab visible only to logged-in users. - Integrated MyPurchaseIntentionsPanel and useMyPurchaseIntentions hook. - Added tab badge showing count of pending intentions. - Extended session API to include user’s main character for downstream features.
17 lines
374 B
TypeScript
17 lines
374 B
TypeScript
/**
|
|
* API Route para Socket.io
|
|
* Next.js 15 não suporta servidor HTTP customizado diretamente
|
|
* Esta rota será usada para health check
|
|
* O Socket.io será inicializado via server.ts customizado
|
|
*/
|
|
|
|
import { NextResponse } from "next/server";
|
|
|
|
export async function GET() {
|
|
return NextResponse.json({
|
|
status: "ok",
|
|
message: "Socket.io está ativo",
|
|
});
|
|
}
|
|
|