Response for preflight has invalid HTTP status code 401

@aravindhrs I have already followed that. But it didn’t helped.