diff --git a/misc/build-docs.sh b/misc/build-docs.sh index e849e7eb2..35eb2af69 100644 --- a/misc/build-docs.sh +++ b/misc/build-docs.sh @@ -50,4 +50,6 @@ mv target/doc target/book/rustdoc cd frontend npm ci npx storybook build -o ../target/book/storybook -cd .. \ No newline at end of file +# 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 ..