You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Documentation isn't clear about Bolt's routing and what the base URL should be. The info below is addressed in the Getting Started guide, but only in a single, buried sentence.
What type of issue is this? (place an x in one of the [ ])
bug
enhancement (feature request)
question
documentation related
testing related
discussion
Requirements (place an x in each of the [ ])
I've read and understood the Contributing guidelines and have done my best effort to follow them.
As a first time Bolt developer, I wasn't sure what the base URL would be. I assumed (naively) that my Slash command /something should be directed to https://myapp.com/something, yet that is not the case. As mentioned in Getting Started, the app listens to /slack/events by default, yet that isn't mentioned anywhere in the README.
Suggested Solution
Update the README with a section for Routing that explains the base URL for the app is /slack/events but can be overridden using the endpoints parameter of the app constructor.
The text was updated successfully, but these errors were encountered:
Updated this in the Getting Started guide and the README (#609), so I think we're safe to close this issue. Feel free to reopen if the changes are insufficient!
Description
Documentation isn't clear about Bolt's routing and what the base URL should be. The info below is addressed in the Getting Started guide, but only in a single, buried sentence.
What type of issue is this? (place an
x
in one of the[ ]
)Requirements (place an
x
in each of the[ ]
)Documentation Issue
As a first time Bolt developer, I wasn't sure what the base URL would be. I assumed (naively) that my Slash command
/something
should be directed tohttps://myapp.com/something
, yet that is not the case. As mentioned inGetting Started
, the app listens to/slack/events
by default, yet that isn't mentioned anywhere in theREADME
.Suggested Solution
Update the
README
with a section forRouting
that explains the base URL for the app is/slack/events
but can be overridden using theendpoints
parameter of the app constructor.The text was updated successfully, but these errors were encountered: