[fix] Add option to different host
[dist] Add option to different endpoint