Allow cors in frappe cloud

How to allow cors in frappe cloud site

Go to site_config.json file and add this line:

{
“allow_cors”: “*”
}

From site_config in your site dashboard in Frappe Cloud, add new one for allow_cors

I don`t see it in Site Config, when i click + Add Config there is no option

You need to choose custom key

will this work?

This is my setup it works perfectly.