From 8807f5a81fd9b4c3e544f8934b8b01f13d065a81 Mon Sep 17 00:00:00 2001 From: Casey Klebba Date: Fri, 2 Feb 2024 13:12:34 -0800 Subject: [PATCH] Fixes server pathing --- demo/lit-html/index.html | 1 + demo/react/index.html | 1 + demo/uhtml/index.html | 1 + index.html | 8 ++++++++ package.json | 4 ++-- 5 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 index.html diff --git a/demo/lit-html/index.html b/demo/lit-html/index.html index 39c03c1..80fe4c2 100644 --- a/demo/lit-html/index.html +++ b/demo/lit-html/index.html @@ -1,6 +1,7 @@ + diff --git a/demo/react/index.html b/demo/react/index.html index 348a82b..fcd873a 100644 --- a/demo/react/index.html +++ b/demo/react/index.html @@ -1,6 +1,7 @@ + diff --git a/demo/uhtml/index.html b/demo/uhtml/index.html index 9b988f3..023a9e1 100644 --- a/demo/uhtml/index.html +++ b/demo/uhtml/index.html @@ -1,6 +1,7 @@ + diff --git a/index.html b/index.html new file mode 100644 index 0000000..5e4f970 --- /dev/null +++ b/index.html @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/package.json b/package.json index bf5f320..4aa4c6b 100644 --- a/package.json +++ b/package.json @@ -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"