fix bug not allow origin when get api

yes master merge