For HMR, proxy all requests including /__webpack_hmr. Fixes #271.

This commit is contained in:
SteveSandersonMS
2016-11-30 16:53:16 +00:00
parent 2cffab14f6
commit e2f8031bb8
4 changed files with 49 additions and 30 deletions

View File

@@ -30,6 +30,7 @@ namespace Microsoft.AspNetCore.SpaServices.Webpack
_pathPrefix = pathPrefix;
_options = options;
_httpClient = new HttpClient(new HttpClientHandler());
_httpClient.Timeout = _options.RequestTimeout;
}
public async Task Invoke(HttpContext context)