Skip to content

Commit de435bf

Browse files
committed
Update http-utils.md
1 parent 2b9ca1a commit de435bf

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

MyApp/_pages/http-utils.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,8 @@ The HttpClient HttpUtils use a lazy singleton for efficiency however if you're u
9090
public class AppHost : AppHostBase, IHostingStartup
9191
{
9292
public void Configure(IWebHostBuilder builder) => builder
93-
.ConfigureServices(services => services.AddHttpUtilsClient())
94-
.Configure(app => {
95-
if (!HasInit)
96-
app.UseServiceStack(new AppHost());
93+
.ConfigureServices(services => {
94+
services.AddHttpUtilsClient();
9795
});
9896
}
9997
```

0 commit comments

Comments
 (0)