How to solve CORS policy problem for Strapi?

I tried this solution too, and nothing happened.
I tried with brackets and only ‘*’.