Skip to content

Commit

Permalink
fix: hack playground
Browse files Browse the repository at this point in the history
  • Loading branch information
bennypowers committed Oct 23, 2023
1 parent cf68aa8 commit 1c8064c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/_data/playgrounds.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ module.exports = async function(data) {
Tools.createCommentNode('playground-hide'),
Tools.createElement('script', {
type: 'module',
src: `./${moduleName}`,
src: `./${demoSlug === 'index.html' ? '' : `${demoSlug}/`}${moduleName}`,
}),
Tools.createTextNode('\n\n'),
Tools.createCommentNode('playground-hide-end'),
Expand Down

0 comments on commit 1c8064c

Please sign in to comment.