Skip to content

Commit

Permalink
fix: build error when non-debug configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Misaka-L committed Aug 4, 2024
1 parent 656bff8 commit b700f68
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions VATQuery.Core/Extensions/HostExtension.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,8 @@ public static IHostBuilder AddBotCraft(this IHostBuilder hostBuilder) {
.UseContentRoot(AppContext.BaseDirectory)
.ConfigureAppConfiguration(builder =>
{
builder
#if DEBUG
.AddJsonFile("appsettings.development.json");
builder.AddJsonFile("appsettings.development.json");
#endif
})
.ConfigureServices((services) => {
Expand Down

0 comments on commit b700f68

Please sign in to comment.