mirror of
https://github.com/aljazceru/enclava.git
synced 2025-12-18 07:54:29 +01:00
plugin system
This commit is contained in:
@@ -7,7 +7,7 @@ export async function POST(request: NextRequest) {
|
||||
|
||||
// Make request to backend auth endpoint without requiring existing auth
|
||||
const baseUrl = process.env.INTERNAL_API_URL || process.env.NEXT_PUBLIC_API_URL
|
||||
const url = `${baseUrl}/api/v1/auth/login`
|
||||
const url = `${baseUrl}/api/auth/login`
|
||||
|
||||
const response = await fetch(url, {
|
||||
method: 'POST',
|
||||
|
||||
Reference in New Issue
Block a user