Fix loading MSW in Storybook in the documentation

This commit is contained in:
Quentin Gliech
2024-11-17 22:47:15 +01:00
parent 862c7e39aa
commit a7d18ddf64
6 changed files with 13 additions and 8 deletions

View File

@@ -50,6 +50,4 @@ mv target/doc target/book/rustdoc
cd frontend
npm ci
npx storybook build -o ../target/book/storybook
# Copy the mock service worker to the root of the domain, else it won't load
cp ../target/book/storybook/mockServiceWorker.js ../target/book/mockServiceWorker.js
cd ..