Fix cannot load api on the mobile