Commit ff99a7c5 by 姚传斌

提交更新

parent 8f61bf14
...@@ -20,7 +20,7 @@ namespace Siger.WeComApi.WebApi ...@@ -20,7 +20,7 @@ namespace Siger.WeComApi.WebApi
.ConfigureWebHostDefaults(webBuilder => .ConfigureWebHostDefaults(webBuilder =>
{ {
webBuilder.UseStartup<Startup>(); webBuilder.UseStartup<Startup>();
webBuilder.UseUrls(args.Length > 1 ? $"http://*:{args[1]}" : "http://*:8105"); webBuilder.UseUrls(args.Length > 1 ? $"http://*:{args[1]}" : "http://*:7008");
}).ConfigureAppConfiguration((hostingContext, config) => }).ConfigureAppConfiguration((hostingContext, config) =>
{ {
var env = hostingContext.HostingEnvironment; var env = hostingContext.HostingEnvironment;
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
"environmentVariables": { "environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development" "ASPNETCORE_ENVIRONMENT": "Development"
}, },
"applicationUrl": "http://localhost:8105" "applicationUrl": "http://localhost:7008"
} }
} }
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment