CORs configuration Not working

login:1 Access to XMLHttpRequest at ‘https://${domain}/api/v2/user/session’ from origin ‘http://localhost:4200’ has been blocked by CORS policy: Response to preflight request doesn’t pass access control check: It does not have HTTP ok status.

Github installer
v7.0.2

Admin panel CORS configured