Skip to content

Commit

Permalink
fix: update MSW initialization to include *relative* service worker URL
Browse files Browse the repository at this point in the history
  • Loading branch information
drikusroor committed Dec 19, 2024
1 parent f5ff3a9 commit c67fdfa
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 c67fdfa

Please sign in to comment.