Skip to content

Commit

Permalink
update handler.
Browse files Browse the repository at this point in the history
  • Loading branch information
devinleighsmith committed Feb 28, 2025
1 parent 4805cb3 commit c741313
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion source/frontend/src/mocks/msw/handlers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,10 @@ export const handlers = [

http.get('http://localhost:3000/ogs-internal/ows', ({ request }) => {
const search = new URL(request.url).search;
if (search.includes('typeName=plan_footprint') && search.includes('service=wfs')) {
if (
search.includes('typeName=ISS_PROVINCIAL_PUBLIC_HIGHWAY') &&
search.includes('service=wfs')
) {
return HttpResponse.json(getMockISSResult(), { status: 200 });
}
}),
Expand Down

0 comments on commit c741313

Please sign in to comment.