[DEV-1471] Add check for askbot url to middleware.