mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-24 18:47:30 +00:00
Allow configuration of SPA startup timeout. Part of #1447
This commit is contained in:
@@ -67,5 +67,11 @@ namespace Microsoft.AspNetCore.SpaServices
|
||||
/// development. The directory may not exist in published applications.
|
||||
/// </summary>
|
||||
public string SourcePath { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the maximum duration that a request will wait for the SPA
|
||||
/// to become ready to serve to the client.
|
||||
/// </summary>
|
||||
public TimeSpan StartupTimeout { get; set; } = TimeSpan.FromSeconds(50);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user