Skip to content

Commit f32a952

Browse files
committed
scope
1 parent 985aa7d commit f32a952

File tree

1 file changed

+3
-0
lines changed
  • apps/opplaringspenger-soknad/src/app

1 file changed

+3
-0
lines changed

apps/opplaringspenger-soknad/src/app/main.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ async function enableMocking() {
1414
return worker.start({
1515
serviceWorker: {
1616
url: '/familie/sykdom-i-familien/soknad/opplaringspenger/assets/mockServiceWorker.js',
17+
options: {
18+
scope: '/familie/sykdom-i-familien/soknad/opplaringspenger/',
19+
},
1720
},
1821
});
1922
}

0 commit comments

Comments
 (0)