From 6b3002c37cbdd97a90cab12858e72f25ff820121 Mon Sep 17 00:00:00 2001 From: xusc Date: Fri, 9 Aug 2024 15:51:05 +0800 Subject: [PATCH] .. --- src/aspnet-core/src/YoyoBoot.Web.Host/Startup/Program.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/aspnet-core/src/YoyoBoot.Web.Host/Startup/Program.cs b/src/aspnet-core/src/YoyoBoot.Web.Host/Startup/Program.cs index 57003016..37f6985c 100644 --- a/src/aspnet-core/src/YoyoBoot.Web.Host/Startup/Program.cs +++ b/src/aspnet-core/src/YoyoBoot.Web.Host/Startup/Program.cs @@ -81,8 +81,8 @@ namespace YoyoBoot.Web.Host.Startup else { // var value = _configuration["CustomerBusiness:Value"].ToStringExt(); - var aa = AppConfigurtaionServices.Configuration["Port"].ToInt(); - options.Listen(ippaddress, aa); + var port = AppConfigurtaionServices.Configuration["Port"].ToInt(); + options.Listen(ippaddress, port); } // options.ListenAnyIP(6698) ;