Add SEQ logging/middleware

This commit is contained in:
lumijiez
2025-06-09 20:28:21 +03:00
parent a695e1cce6
commit 5d041a008b
7 changed files with 98 additions and 5 deletions

View File

@@ -22,7 +22,7 @@ export async function GET() {
headers: { Cookie: `access_token=${token}` }
});
NextResponse.json({ message: 'Access token set in cookie' });
return NextResponse.json({ message: 'Access token set in cookie' });
} catch (error) {
console.error('Error in /api/token:', error);
return NextResponse.json({ error: 'Internal Server Error' }, { status: 500 });