# Universal Links must load with NO redirect in the chain, or iOS silently falls back to
# opening Safari instead of the app. The default server behavior 301-redirects /join (no
# trailing slash) to /join/ — harmless for a normal browser, but breaks Universal Links for
# anyone using a /join?... link without the slash (older links, manually typed, etc.). The
# app itself always generates /join/?... already (see AppJoinLink.swift), so this rule is a
# safety net, not strictly required for links generated going forward.
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/join$
RewriteRule ^join$ /join/ [L]
