Hello there,
You only need the version hosted to be honest for it to work, which is something that trinity does here: https://github.com/trinity6/trinity6.github.io
Support for the connection_patcher with different builds can be found here: https://github.com/TrinityCore/TrinityCore/commit/7e906d7b1926394ba436315b7222b95f5473f79b
Kind regards,
DJScias