Merge pull request #801 from hishamco/localizable-labels

Use ServiceActivator instead of IHttpContextAccessor
This commit is contained in:
Shaun Walker
2020-10-18 08:52:13 -04:00
committed by GitHub
4 changed files with 15 additions and 9 deletions

View File

@ -231,6 +231,8 @@ namespace Oqtane
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
{
ServiceActivator.Configure(app.ApplicationServices);
if (env.IsDevelopment())
{
app.UseDeveloperExceptionPage();