Fix the MSW service worker in the built docs

This commit is contained in:
Quentin Gliech
2024-11-14 19:07:13 +01:00
parent 1f836c60ba
commit 8b7eb9273b

View File

@@ -50,4 +50,6 @@ mv target/doc target/book/rustdoc
cd frontend
npm ci
npx storybook build -o ../target/book/storybook
cd ..
# 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 ..