Exposing components with cors