Skip to content

Commit 3007029

Browse files
committed
better path filter for local files in msw handler
1 parent 5cf4339 commit 3007029

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/msw-mock-api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ export async function startMockAPI() {
8989
// about them is just noise.
9090
const ignore = [
9191
path.startsWith('/app'),
92-
path.startsWith('/libs/ui'),
92+
path.startsWith('/libs'),
9393
path.startsWith('/node_modules'),
9494
].some(Boolean)
9595
if (!ignore) {

0 commit comments

Comments
 (0)