Files
holacompi/app/api/auth/me/route.ts
T
Haitham Khalifa b538d84e17 Initial commit
2026-02-16 12:18:06 +01:00

14 lines
348 B
TypeScript

import { NextRequest, NextResponse } from 'next/server';
export async function GET(_request: NextRequest) {
// MVP placeholder: always "not authenticated"
// Later we will read a token (cookie/header) and return the real user.
return NextResponse.json(
{
user: null,
isAuthenticated: false,
},
{ status: 200 }
);
}