Ambro17 / slackify

Slackify: Lightweight framework to quickly develop modern Slack bots 🚀

Home Page:https://ambro17.github.io/slackify/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow overriding url_prefix when used as a blueprint on app.register_blueprint

Ambro17 opened this issue · comments

It currently breaks redirection as slackify never notices of such event.

Create failing test
Fix it
Check test passes

Now that we added support for dependency injection with a custom Blueprint, this fix should be easier. Just add some logic in the overriden register method to detect if the app has registered the blueprint under a different prefix and update it