fix(isms): Proxy-Pfad /api/isms → /api/compliance/isms
Some checks failed
CI / go-lint (push) Has been skipped
CI / python-lint (push) Has been skipped
CI / nodejs-lint (push) Has been skipped
CI / test-go-ai-compliance (push) Failing after 29s
CI / test-python-backend-compliance (push) Successful in 32s
CI / test-python-document-crawler (push) Successful in 20s
CI / test-python-dsms-gateway (push) Successful in 18s
Some checks failed
CI / go-lint (push) Has been skipped
CI / python-lint (push) Has been skipped
CI / nodejs-lint (push) Has been skipped
CI / test-go-ai-compliance (push) Failing after 29s
CI / test-python-backend-compliance (push) Successful in 32s
CI / test-python-document-crawler (push) Successful in 20s
CI / test-python-dsms-gateway (push) Successful in 18s
Readiness-Check Button funktionierte nicht weil der ISMS-Proxy das /compliance Segment im Backend-Pfad fehlte. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -14,7 +14,7 @@ async function proxyRequest(
|
|||||||
) {
|
) {
|
||||||
const pathStr = pathSegments?.join('/') || ''
|
const pathStr = pathSegments?.join('/') || ''
|
||||||
const searchParams = request.nextUrl.searchParams.toString()
|
const searchParams = request.nextUrl.searchParams.toString()
|
||||||
const basePath = `${BACKEND_URL}/api/isms`
|
const basePath = `${BACKEND_URL}/api/compliance/isms`
|
||||||
const url = pathStr
|
const url = pathStr
|
||||||
? `${basePath}/${pathStr}${searchParams ? `?${searchParams}` : ''}`
|
? `${basePath}/${pathStr}${searchParams ? `?${searchParams}` : ''}`
|
||||||
: `${basePath}${searchParams ? `?${searchParams}` : ''}`
|
: `${basePath}${searchParams ? `?${searchParams}` : ''}`
|
||||||
|
|||||||
Reference in New Issue
Block a user