]> git.cworth.org Git - turbot/commitdiff
Move URL for flask events from /slack/events to just /events
authorCarl Worth <cworth@cworth.org>
Tue, 13 Oct 2020 23:01:11 +0000 (16:01 -0700)
committerCarl Worth <cworth@cworth.org>
Tue, 13 Oct 2020 23:01:11 +0000 (16:01 -0700)
Everything about this bot is Slack-related, so we don't need slack in
the name

turbot_flask/turbot.py

index 735c4273f17770113081a675623fb2ec713f4699..2eaa2683778b1f504549d4b4d510d57ba06e202a 100644 (file)
@@ -12,7 +12,7 @@ from turbot.sheets import sheets_create
 app = Flask(__name__)
 
 slack_signing_secret = os.environ['SLACK_SIGNING_SECRET']
-slack_events = SlackEventAdapter(slack_signing_secret, "/slack/events", app)
+slack_events = SlackEventAdapter(slack_signing_secret, "/events", app)
 
 @app.route('/rot', methods = ['POST'])
 def rot_route():