How do I set CORS settings for 2 (Azure) webapps t...
# getting-started
q
How do I set CORS settings for 2 (Azure) webapps that are allowed to call each other? So, Webapp1 allows calls from Webapp2 and vice versa.
Copy code
var webapp1 = new WebApp(name,
       new WebAppArgs
       {
           Kind = "app,linux",
           SiteConfig = new SiteConfigArgs
           {
                Cors = new CorsSettingsArgs
                {
                    AllowedOrigins = {
                      // how do I specify WebApp2 here?
                    },
                    SupportCredentials = false
                 }
            },
          });