mirror of
https://github.com/239573049/FastGateway.git
synced 2026-10-17 05:20:30 +08:00
Update Gateway.cs
This commit is contained in:
@@ -181,10 +181,7 @@ public static class Gateway
|
||||
|
||||
builder.Services.AddRequestTimeouts(options =>
|
||||
{
|
||||
options.DefaultPolicy = new Microsoft.AspNetCore.Http.Timeouts.RequestTimeoutPolicy()
|
||||
{
|
||||
Timeout = TimeSpan.FromSeconds(server.Timeout)
|
||||
};
|
||||
|
||||
});
|
||||
|
||||
builder.Services
|
||||
|
||||
Reference in New Issue
Block a user