We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 443e9f2 commit 6584c35Copy full SHA for 6584c35
.storybook/manager-head.html
@@ -0,0 +1,15 @@
1
+<!-- this file redirects `/` to the introduction story when using `bunx serve` -->
2
+<script>
3
+ (function () {
4
+ try {
5
+ const u = new URL(window.location.href);
6
+ if (!u.searchParams.get("path")) {
7
+ // NB: this path must match an actual story ID
8
+ u.search = "?path=/docs/introduction--docs";
9
+ window.location.replace(u.toString());
10
+ }
11
+ } catch (e) {
12
+ /* noop */
13
14
+ })();
15
+</script>
0 commit comments