Am using Johnny server. And I face CORS issue suddenly even after adding PHP headers to allow all origins. It was working from June 1 (IST) Morning, but all of a sudden it threw CORS errors in the evening. Why is this happening? Any ideas how to solve it? I tried to look for .htaccess files but it was not in the public_html folder. Can someone help me out.?