Feature(custom): remove auto replace of localhost to 0.0.0.0

This commit is contained in:
Kuingsmile
2025-06-07 22:45:46 +08:00
parent 8207f5b93d
commit 9deda85c6f

View File

@@ -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
}