package Ġde . char ity kar ao ke . backend . config Ċ Ċ import Ġorg . springframework . context . annotation . Configuration Ċ import Ġorg . springframework . web . servlet . config . annotation . Cors Registry Ċ import Ġorg . springframework . web . servlet . config . annotation . Web Mvc Configurer Ċ Ċ @ Configuration Ċ class ĠWeb Mvc Config Ġ: ĠWeb Mvc Configurer Ġ{ ĊĊĠĠĠ Ġoverride Ġfun Ġadd Cors Mappings ( registry : ĠC ors Registry ) Ġ{ ĊĠĠĠĠĠĠĠ Ġregistry . add Mapping (" /** ") ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. allowed Orig ins ("* ") ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. allowed Methods (" GET ", Ġ" PUT ", Ġ" POST ", Ġ" DELETE ") ĊĠĠĠ Ġ} Ċ } Ċ