zyket 1.2.14 → 1.2.15

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zyket",
3
- "version": "1.2.14",
3
+ "version": "1.2.15",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -39,6 +39,10 @@ module.exports = class Vite extends Service {
39
39
  preview: {
40
40
  port: this.#port,
41
41
  strictPort: false,
42
+ // Listen on 0.0.0.0 so a reverse proxy can reach it, and accept
43
+ // requests for any Host (the proxy forwards the public domain).
44
+ host: true,
45
+ allowedHosts: true,
42
46
  },
43
47
  });
44
48
 
@@ -57,6 +61,8 @@ module.exports = class Vite extends Service {
57
61
  server: {
58
62
  port: this.#port,
59
63
  strictPort: false,
64
+ host: true,
65
+ allowedHosts: true,
60
66
  },
61
67
  });
62
68