Browse Source
Merge pull request #19659 from abpframework/auto-merge/prerel-8-2/2662
Merge branch dev with prerel-8.2
pull/19665/head
maliming
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
5 additions and
3 deletions
-
framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ProjectBuilding/Templates/App/BlazorAppsettingsFilePortChangeForSeparatedAuthServersStep.cs
|
|
|
@ -10,15 +10,17 @@ public class BlazorAppsettingsFilePortChangeForSeparatedAuthServersStep : Projec |
|
|
|
{ |
|
|
|
var appsettingsFile = context.Files.FirstOrDefault(x => |
|
|
|
!x.IsDirectory && |
|
|
|
x.Name.EndsWith("aspnet-core/src/MyCompanyName.MyProjectName.Blazor/wwwroot/appsettings.json", |
|
|
|
StringComparison.InvariantCultureIgnoreCase) |
|
|
|
(x.Name.EndsWith("aspnet-core/src/MyCompanyName.MyProjectName.Blazor/wwwroot/appsettings.json", |
|
|
|
StringComparison.InvariantCultureIgnoreCase) || |
|
|
|
x.Name.EndsWith("aspnet-core/src/MyCompanyName.MyProjectName.Blazor.Client/wwwroot/appsettings.json", |
|
|
|
StringComparison.InvariantCultureIgnoreCase)) |
|
|
|
); |
|
|
|
|
|
|
|
if (appsettingsFile == null) |
|
|
|
{ |
|
|
|
return; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
appsettingsFile.NormalizeLineEndings(); |
|
|
|
var lines = appsettingsFile.GetLines(); |
|
|
|
|
|
|
|
|