Custom strapi Access-Control-Allow-Origin

Will this work with Strapi V4? I have the exact same problem except my client frontend is Angular.