mirror of
https://github.com/Kuingsmile/PicList.git
synced 2026-09-07 00:17:03 +08:00
✨ Feature(custom): remove auto replace of localhost to 0.0.0.0
This commit is contained in:
@@ -53,7 +53,6 @@ class Server {
|
|||||||
config = { port: DEFAULT_PORT, host: DEFAULT_HOST, enable: true }
|
config = { port: DEFAULT_PORT, host: DEFAULT_HOST, enable: true }
|
||||||
picgo.saveConfig({ [configPaths.settings.server]: config })
|
picgo.saveConfig({ [configPaths.settings.server]: config })
|
||||||
}
|
}
|
||||||
config.host = config.host === '127.0.0.1' ? '0.0.0.0' : config.host
|
|
||||||
return config
|
return config
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user