add cross origin for external api doc