piclist 1.3.1 → 1.3.2

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/bin/picgo-server CHANGED
@@ -192,10 +192,13 @@ class Server {
192
192
  const result = this.checkIfConfigIsValid(config)
193
193
  if (result) {
194
194
  this.config = config
195
+ if (this.config.host === '127.0.0.1') {
196
+ this.config.host = '0.0.0.0'
197
+ }
195
198
  } else {
196
199
  config = {
197
200
  port: 36677,
198
- host: '127.0.0.1',
201
+ host: '0.0.0.0',
199
202
  enable: true
200
203
  }
201
204
  this.config = config