We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c6b6db commit a42a05eCopy full SHA for a42a05e
1 file changed
SlackLineBridge/Startup.cs
@@ -48,7 +48,6 @@ public void ConfigureServices(IServiceCollection services)
48
x.AddAWSProvider(awsLoggingConfig);
49
}
50
});
51
- services.AddControllers();
52
services.AddHttpClient("Line", c =>
53
{
54
c.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", Configuration["lineAccessToken"]);
@@ -69,6 +68,7 @@ public void ConfigureServices(IServiceCollection services)
69
68
services.AddSingleton(jsonOptions);
70
services.AddHostedService<LineMessageProcessingService>();
71
services.AddHostedService<BackgroundAccessingService>();
+ services.AddControllers();
72
73
74
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
0 commit comments