Move setting cors properties