Storybook: Serve msw worker from relative path (#107561)
This commit is contained in:
@@ -51,6 +51,9 @@ if (process.env.NODE_ENV === 'development') {
|
||||
*/
|
||||
initialize({
|
||||
onUnhandledRequest: 'bypass',
|
||||
serviceWorker: {
|
||||
url: 'mockServiceWorker.js',
|
||||
},
|
||||
});
|
||||
|
||||
const preview: Preview = {
|
||||
|
||||
Reference in New Issue
Block a user