d
This commit is contained in:
parent
85cb2d82ea
commit
b535f6d69a
@ -19,7 +19,7 @@ namespace YD_WeChatApplet
|
||||
{
|
||||
serverOptions.Limits.MaxRequestBodySize = 10485760;
|
||||
});
|
||||
webBuilder.UseKestrel().UseUrls("http://*:9993");
|
||||
webBuilder.UseKestrel().UseUrls("http://*:9995");
|
||||
webBuilder.UseIIS();
|
||||
webBuilder.UseStartup<Startup>();
|
||||
}).UseServiceProviderFactory(new AutofacServiceProviderFactory());
|
||||
|
@ -69,7 +69,7 @@ namespace YD_WeChatApplet
|
||||
services.AddScoped<IServerService, ServerService>();
|
||||
services.AddScoped<IFrameworkService, FrameworkService>();
|
||||
|
||||
services.AddScoped<ICacheService, RedisCacheService>();
|
||||
services.AddSingleton<ICacheService, RedisCacheService>();
|
||||
services.AddSession();
|
||||
services.AddMemoryCache();
|
||||
services.AddHttpContextAccessor();
|
||||
|
Loading…
x
Reference in New Issue
Block a user