Skip to content

Commit

Permalink
Merge pull request #18580 from abpframework/issue/app-nolayers-blazor…
Browse files Browse the repository at this point in the history
…-bugs

app-nolayers blazor template bug fixed
  • Loading branch information
realLiangshiwei authored Dec 25, 2023
2 parents c4a41f7 + 6fbf42e commit 4f9fa56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ public async static Task<int> Main(string[] args)
builder.Host.AddAppSettingsSecretsJson()
.UseAutofac()
.UseSerilog();
await builder.AddApplicationAsync<MyProjectNameHostModule>();
if (IsMigrateDatabase(args))
{
builder.Services.AddDataMigrationEnvironment();
}
await builder.AddApplicationAsync<MyProjectNameHostModule>();
var app = builder.Build();
await app.InitializeApplicationAsync();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ public async static Task<int> Main(string[] args)
builder.Host.AddAppSettingsSecretsJson()
.UseAutofac()
.UseSerilog();
await builder.AddApplicationAsync<MyProjectNameHostModule>();
if (IsMigrateDatabase(args))
{
builder.Services.AddDataMigrationEnvironment();
}
await builder.AddApplicationAsync<MyProjectNameHostModule>();
var app = builder.Build();
await app.InitializeApplicationAsync();

Expand Down

0 comments on commit 4f9fa56

Please sign in to comment.