diff options
author | Rory& <root@rory.gay> | 2024-01-20 11:34:00 +0100 |
---|---|---|
committer | Rory& <root@rory.gay> | 2024-01-20 11:34:00 +0100 |
commit | 8c15a67166e545169216eee8be7c44acf03a27cb (patch) | |
tree | 2667e4899e14bf66e2d31b7d33978d7d2dd679b4 /SystemdCtl/Program.cs | |
parent | Json logs (diff) | |
download | SystemdCtl-8c15a67166e545169216eee8be7c44acf03a27cb.tar.xz |
Add actions and unit data
Diffstat (limited to 'SystemdCtl/Program.cs')
-rw-r--r-- | SystemdCtl/Program.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/SystemdCtl/Program.cs b/SystemdCtl/Program.cs index c399d31..f0f01c3 100644 --- a/SystemdCtl/Program.cs +++ b/SystemdCtl/Program.cs @@ -10,7 +10,8 @@ builder.Services.AddRazorComponents() builder.Services.AddControllers().AddJsonOptions(options => { options.JsonSerializerOptions.WriteIndented = true; - options.JsonSerializerOptions.DefaultBufferSize = 128; + options.JsonSerializerOptions.DefaultBufferSize = 1; + options.JsonSerializerOptions.AllowTrailingCommas = true; }); var app = builder.Build(); |