Skip to content

Commit

Permalink
Fixes server pathing
Browse files Browse the repository at this point in the history
  • Loading branch information
klebba committed Feb 2, 2024
1 parent 678bca5 commit e14c548
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 2 deletions.
1 change: 1 addition & 0 deletions demo/lit-html/index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<script type="module" src="./demo-lit-html.js"></script>
</head>
<body>
Expand Down
1 change: 1 addition & 0 deletions demo/react/index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<script type="module" src="../chess/index.js"></script>
<script crossorigin src="https://unpkg.com/react@18/umd/react.production.min.js"></script>
<script crossorigin src="https://unpkg.com/react-dom@18/umd/react-dom.production.min.js"></script>
Expand Down
1 change: 1 addition & 0 deletions demo/uhtml/index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<script type="module" src="./demo-uhtml.js"></script>
</head>
<body>
Expand Down
8 changes: 8 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="refresh" content="0; url=/demo">
</head>
<body></body>
</html>
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
"types": "x-element.d.ts",
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
"registry": "https://registry.npmjs.org"
},
"scripts": {
"start": "ROOT=./demo node ./server.js",
"start": "node ./server.js",
"lint": "eslint --max-warnings=0 .",
"lint-fix": "eslint --fix .",
"test": "node test.js | tap-parser -l"
Expand Down

0 comments on commit e14c548

Please sign in to comment.