Skip to content

Commit

Permalink
Fixed: update MSW initialization to include *relative* service worker…
Browse files Browse the repository at this point in the history
… URL (#1441)

Related to #1440
  • Loading branch information
drikusroor authored Dec 19, 2024
1 parent f5ff3a9 commit ffd4500
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion frontend/.storybook/preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@ initAudioListener();
initWebAudioListener();

// Initialize MSW
initialize()
initialize({
serviceWorker: {
url: './mockServiceWorker.js',
},
});

/** @type { import('@storybook/react').Preview } */
const preview = {
Expand Down

0 comments on commit ffd4500

Please sign in to comment.