Skip to content

Commit 88a2d2e

Browse files
committed
change asset root in github.io page
1 parent 883e4fb commit 88a2d2e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.storybook/config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ if (/\.sbook\.io/.test(location.hostname)) {
1212
// As SVG doesn't allow the use of cross-domain external resources (even CORS header is set in resource server)
1313
// forcedly use svg4everybody polyfill
1414
svg4everybody({ polyfill: true });
15+
} else if (location.hostname === 'mashmatrix.github.io') {
16+
setAssetRoot('/react-lightning-design-system/assets');
1517
}
1618

1719
configure(() => {

0 commit comments

Comments
 (0)