fix: Swagger UI 접근을 위한 화이트리스트 추가
- ApiKeyMiddleware 화이트리스트에 'docs', 'docs/*' 경로 추가 - /docs (L5-Swagger UI) 접근 시 401 에러 해결
This commit is contained in:
@@ -23,6 +23,8 @@ public function handle(Request $request, Closure $next)
|
||||
'api/v1/debug-apikey',
|
||||
'api-docs', // Swagger UI
|
||||
'api-docs/*', // Swagger 하위 경로
|
||||
'docs', // L5-Swagger UI
|
||||
'docs/*', // L5-Swagger 하위 경로 (에셋 등)
|
||||
'docs/api-docs.json', // Swagger JSON
|
||||
'up', // Health check
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user