Skip to content

Commit

Permalink
add directlinespeech support
Browse files Browse the repository at this point in the history
  • Loading branch information
Hualiang Xie committed Nov 22, 2019
1 parent 2f96b52 commit 8717f95
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion BotProject/CSharp/Controllers/BotController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public BotController(BotManager botManager)
this.botManager = botManager;
}

[HttpPost]
[HttpPost, HttpGet]
public async Task PostAsync()
{
// Delegate the processing of the HTTP POST to the adapter.
Expand Down
1 change: 1 addition & 0 deletions BotProject/CSharp/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ public void Configure(IApplicationBuilder app, IHostingEnvironment env)

app.UseDefaultFiles();
app.UseStaticFiles();
app.UseWebSockets();

//app.UseHttpsRedirection();
app.UseMvc();
Expand Down

0 comments on commit 8717f95

Please sign in to comment.