Source identity
| Field | Recorded value |
|---|---|
| Source type | GitHub source |
| Original record | Janady13/llms-txt-hub / apps/web/app/api/auth/sign-in/route.ts |
| Date | Not specified in source |
| Repository | Janady13/llms-txt-hub |
| Revision | e0f4bf978d4df168369c7601d9c5f5ea89e84377 |
| Branch | main |
| Path or archive member | apps/web/app/api/auth/sign-in/route.ts |
| Original SHA-256 | 9b83a22d46c29e63e3f81c4bf30e767b4cf11ff9c96c5f4beb7fd1d5f9f75638 |
| Git blob SHA | 5743f17ebf42d146f7f7439706c3ccb447f3c3ab |
| Reading-copy SHA-256 | 9b83a22d46c29e63e3f81c4bf30e767b4cf11ff9c96c5f4beb7fd1d5f9f75638 |
Recovered source transcript
Download complete source text ↓15 lines · 0.4 KB
import { NextResponse } from 'next/server'
/**
* Handles POST requests for sign-in authentication
*/
export async function POST(request: Request) {
try {
// For now, just return a success response to prevent the 405 error
// This will allow the client-side authentication to work
return NextResponse.json({ success: true })
} catch (_error) {
return NextResponse.json({ error: 'Sign-in failed' }, { status: 500 })
}
}