Files
pagodera/app/api/socket/route.ts
T
Evandro Fonseca Junior 7f42def478 feat(market): add Minha Intenções tab with panel, hook, and badge
- 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.
2025-11-07 17:25:51 -03:00

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",
});
}