pinokiod 2.0.2 → 2.0.4

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/server/index.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "2.0.2",
3
+ "version": "2.0.4",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/server/index.js CHANGED
@@ -2156,7 +2156,7 @@ class Server {
2156
2156
  */
2157
2157
  if (req.body.type) {
2158
2158
  if (req.body.type === "local") {
2159
- await this.kernel.api.startProxy("/", `http://localhost:${this.port}`, "/")
2159
+ await this.kernel.api.startProxy("/", `http://127.0.0.1:${this.port}`, "/")
2160
2160
  } else if (req.body.type === "cloudflare") {
2161
2161
  let { uri } = await this.cf.tunnel({
2162
2162
  params: {