[#39] Fixes /api globalredirect.