mirror of
https://github.com/bitwarden/server
synced 2026-02-08 04:33:23 +00:00
25 lines
570 B
C#
25 lines
570 B
C#
using Bit.Core.Utilities;
|
|
|
|
namespace Bit.Admin;
|
|
|
|
public class Program
|
|
{
|
|
public static void Main(string[] args)
|
|
{
|
|
Host
|
|
.CreateDefaultBuilder(args)
|
|
.UseBitwardenSdk()
|
|
.ConfigureWebHostDefaults(webBuilder =>
|
|
{
|
|
webBuilder.ConfigureKestrel(o =>
|
|
{
|
|
o.Limits.MaxRequestLineSize = 20_000;
|
|
});
|
|
webBuilder.UseStartup<Startup>();
|
|
})
|
|
.AddSerilogFileLogging()
|
|
.Build()
|
|
.Run();
|
|
}
|
|
}
|