From 6219054a8ba26274fec9ba69ec6548bef74ba024 Mon Sep 17 00:00:00 2001 From: SuChengHao <mercur1al@outlook.com> Date: Sun, 25 Aug 2024 16:29:48 +0800 Subject: [PATCH] update --- olah/server.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/olah/server.py b/olah/server.py index d5fef59..e0a4988 100644 --- a/olah/server.py +++ b/olah/server.py @@ -731,12 +731,6 @@ def is_default_value(args, arg_name): args.host = args.host.split(",") args.mirror_scheme = config.mirror_scheme = "http" if args.ssl_key is None else "https" - args.mirror_netloc = config.mirror_netloc = ( - f"{config.host if config._is_specific_addr(config.host) else 'localhost'}:{config.port}" - ) - args.mirror_lfs_netloc = config.mirror_lfs_netloc = ( - f"{config.host if config._is_specific_addr(config.host) else 'localhost'}:{config.port}" - ) print(args) # Init app settings