Backend: Format appsettings.json

This commit is contained in:
Eero Holmala 2024-06-01 11:12:51 +03:00
parent 218895b286
commit dbf6bc25bb

View File

@ -10,10 +10,21 @@
"Default": "Server=127.0.0.1;Port=5432;Database=postgres;User Id=postgres;Password=asd;"
},
"Serilog": {
"Using": ["Serilog.Sinks.Console", "Serilog.Sinks.File"],
"Using": [
"Serilog.Sinks.Console",
"Serilog.Sinks.File"
],
"WriteTo": [
{"Name": "Console"},
{ "Name": "File", "Args": { "path": "logs/log-.txt", "rollingInterval": "Day" } }
{
"Name": "Console"
},
{
"Name": "File",
"Args": {
"path": "logs/log-.txt",
"rollingInterval": "Day"
}
}
]
}
}