1 write to _options
Microsoft.AspNetCore.SpaProxy (1)
SpaProxyMiddleware.cs (1)
39
_options
= options ?? throw new ArgumentNullException(nameof(options));
4 references to _options
Microsoft.AspNetCore.SpaProxy (4)
SpaProxyMiddleware.cs (4)
46
if (context.Request.Path.Equals(new Uri(
_options
.Value.ServerUrl).LocalPath))
63
await writer.WriteAsync(GenerateSpaLaunchPage(
_options
.Value));
69
_logger.LogInformation($"SPA proxy is ready. Redirecting to {
_options
.Value.GetRedirectUrl()}.");
71
context.Response.Redirect(
_options
.Value.GetRedirectUrl());