fix the cross domain issue by divide the request as API and file  server