juxscript 1.0.22 → 1.0.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -118,9 +118,9 @@ async function serve(port = 3000, distDir = './jux-dist') {
118
118
 
119
119
  export async function start(port = 3000, pageName = null) {
120
120
  const app = express();
121
-
121
+
122
122
  // ...existing code for static files...
123
-
123
+
124
124
  // If pageName specified, redirect root to that page
125
125
  if (pageName) {
126
126
  app.get('/', (req, res) => {
@@ -128,9 +128,9 @@ export async function start(port = 3000, pageName = null) {
128
128
  });
129
129
  console.log(`šŸŽÆ Root (/) redirects to /${pageName}`);
130
130
  }
131
-
131
+
132
132
  // ...existing code...
133
-
133
+
134
134
  app.listen(port, () => {
135
135
  console.log(`\nšŸš€ JUX dev server running`);
136
136
  console.log(` Local: http://localhost:${port}${pageName ? '/' + pageName : ''}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "juxscript",
3
- "version": "1.0.22",
3
+ "version": "1.0.23",
4
4
  "type": "module",
5
5
  "description": "A JavaScript UX authorship platform",
6
6
  "main": "lib/jux.js",