Skip to content

Commit 885e0db

Browse files
committed
refactor(cosky-rest-api): update cosky-policy.json to allow access to swagger-ui resources
- Change the pattern in cosky-policy.json to allow access to /swagger-ui/** instead of /webjars/swagger-ui/** - This update ensures proper access to Swagger UI resources
1 parent 40825c4 commit 885e0db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cosky-rest-api/src/main/resources/cosky-policy.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"pattern": [
2323
"/swagger",
2424
"/swagger-ui.html",
25-
"/webjars/swagger-ui/**",
25+
"/swagger-ui/**",
2626
"/v3/api-docs/**"
2727
]
2828
}

0 commit comments

Comments
 (0)