Added cors support in development
Moved cors to production