Added cors middleware