refactor: 更新 IHostingEnvironment 接口
This commit is contained in:
parent
e7a4eb5899
commit
93e7fb1c0d
|
@ -92,7 +92,7 @@ namespace Bootstrap.Admin.Api
|
||||||
}
|
}
|
||||||
|
|
||||||
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
|
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
|
||||||
public void Configure(IApplicationBuilder app, IHostingEnvironment env)
|
public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
|
||||||
{
|
{
|
||||||
app.Use(async (context, next) =>
|
app.Use(async (context, next) =>
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue