Skip to content

Commit 01fdd5c

Browse files
committed
fix: properly exclude docs path
1 parent 20f92b5 commit 01fdd5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ export const filterPaths = (
316316
const newPaths: Record<string, any> = {}
317317

318318
// exclude docs path and OpenAPI json path
319-
const excludePaths = [`/${docsPath}`, `/${docsPath}/json`].map((p) =>
319+
const excludePaths = [`${docsPath}`, `${docsPath}/json`].map((p) =>
320320
normalize(p)
321321
)
322322

0 commit comments

Comments
 (0)