mirror of
https://github.com/Kuingsmile/PicList.git
synced 2026-05-24 09:40:16 +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 }
|
||||
picgo.saveConfig({ [configPaths.settings.server]: config })
|
||||
}
|
||||
config.host = config.host === '127.0.0.1' ? '0.0.0.0' : config.host
|
||||
return config
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user