mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-24 10:40:23 +00:00
Further stylistic tweaks
This commit is contained in:
@@ -67,10 +67,10 @@ namespace Microsoft.AspNetCore.SpaServices.Webpack
|
||||
requestMessage.Method = new HttpMethod(context.Request.Method);
|
||||
|
||||
using (
|
||||
var responseMessage =
|
||||
await
|
||||
_httpClient.SendAsync(requestMessage, HttpCompletionOption.ResponseHeadersRead,
|
||||
context.RequestAborted))
|
||||
var responseMessage = await _httpClient.SendAsync(
|
||||
requestMessage,
|
||||
HttpCompletionOption.ResponseHeadersRead,
|
||||
context.RequestAborted))
|
||||
{
|
||||
if (responseMessage.StatusCode == HttpStatusCode.NotFound)
|
||||
{
|
||||
|
||||
@@ -91,4 +91,4 @@ namespace Microsoft.AspNetCore.Builder
|
||||
}
|
||||
}
|
||||
#pragma warning restore CS0649
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user