From 9deda85c6f6e7b40e78e6fe505a68e913bf6bbc8 Mon Sep 17 00:00:00 2001 From: Kuingsmile <96409857+Kuingsmile@users.noreply.github.com> Date: Sat, 7 Jun 2025 22:45:46 +0800 Subject: [PATCH] :sparkles: Feature(custom): remove auto replace of localhost to 0.0.0.0 --- src/main/server/index.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/server/index.ts b/src/main/server/index.ts index 04554d41..1837acf3 100644 --- a/src/main/server/index.ts +++ b/src/main/server/index.ts @@ -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 }