Skip to content

Commit

Permalink
Tweaking readme formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Oxtoby committed Jun 14, 2020
1 parent 0b5fd5d commit ae1a2f2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ Copy [SlackEndpoint.cs](https://github.com/soxtoby/SlackNet/blob/master/SlackNet
This provides the functions for Slack to call, and delegates request handling the same way the regular ASP.NET integration does, with the same methods for registering event handlers as above.

See the `SlackNet.AzureFunctionExample` and `SlackNet.EventsExample` projects for more detail.
## Endpoints naming convention

#### Endpoints naming convention

SlackNet requires the Slack app endpoints to be named after the following convention:

Expand All @@ -126,7 +127,7 @@ SlackNet requires the Slack app endpoints to be named after the following conven

By default, the value of `{route_prefix}` is `slack`, but this can be configured like so:

```
```c#
public void Configure(IApplicationBuilder app, IHostingEnvironment env)
{
app.UseSlackNet(c => c.UseSigningSecret("<your signing secret here>").MapToPrefix("api/slack"));
Expand Down

0 comments on commit ae1a2f2

Please sign in to comment.