Skip to content

Commit

Permalink
better path filter for local files in msw handler
Browse files Browse the repository at this point in the history
  • Loading branch information
david-crespo committed Jan 30, 2024
1 parent 5cf4339 commit 3007029
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/msw-mock-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export async function startMockAPI() {
// about them is just noise.
const ignore = [
path.startsWith('/app'),
path.startsWith('/libs/ui'),
path.startsWith('/libs'),
path.startsWith('/node_modules'),
].some(Boolean)
if (!ignore) {
Expand Down

0 comments on commit 3007029

Please sign in to comment.