Skip to content

Commit

Permalink
Update netlify config
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeer committed Jan 7, 2025
1 parent c516db9 commit d7e2f60
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion demo/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
</head>
<body>
<div id="demo"></div>
<script src="./index.js"></script>
<script type="module" src="./index.js"></script>
</body>
</html>
9 changes: 9 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# This is the configuration file for the netlify preview deploys
# See https://www.netlify.com/docs/netlify-toml-reference/ for more

[build]
publish = "dist/"

[[redirects]]
from = "/"
to = "/demo/src/"

0 comments on commit d7e2f60

Please sign in to comment.