zero-http 0.2.3 → 0.2.5

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.
package/README.md CHANGED
@@ -49,10 +49,10 @@ app.listen(3000)
49
49
 
50
50
  ## Demo
51
51
 
52
- You can view the live documentation and playground at https://zero-http.molex.cloud, or run the demo locally:
52
+ You can view the live documentation and playground at https://z-http.com, or run the demo locally:
53
53
 
54
54
  ```bash
55
- node documentation/full-server.js
55
+ npm run docs
56
56
  # open http://localhost:3000
57
57
  ```
58
58
 
@@ -180,8 +180,8 @@ app.get('/debug/routes', (req, res) =>
180
180
  });
181
181
 
182
182
  // --- TLS Certificates (HTTPS + WSS) ---
183
- const certPath = '/www/server/panel/vhost/cert/zero-http.molex.cloud/fullchain.pem';
184
- const keyPath = '/www/server/panel/vhost/cert/zero-http.molex.cloud/privkey.pem';
183
+ const certPath = '/www/server/panel/vhost/cert/z-http.com/fullchain.pem';
184
+ const keyPath = '/www/server/panel/vhost/cert/z-http.com/privkey.pem';
185
185
  const hasCerts = fs.existsSync(certPath) && fs.existsSync(keyPath);
186
186
 
187
187
  const tlsOpts = hasCerts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zero-http",
3
- "version": "0.2.3",
3
+ "version": "0.2.5",
4
4
  "description": "Zero-dependency, minimal Express-like HTTP server and tiny fetch replacement",
5
5
  "main": "index.js",
6
6
  "files": [
@@ -34,7 +34,7 @@
34
34
  "bugs": {
35
35
  "url": "https://github.com/tonywied17/zero-http-npm/issues"
36
36
  },
37
- "homepage": "https://zero-http.molex.cloud",
37
+ "homepage": "https://z-http.com",
38
38
  "engines": {
39
39
  "node": ">=14.0.0"
40
40
  },