https://pulumi.com logo
Title
n

nutritious-judge-27316

03/20/2020, 3:41 PM
Anyone got any examples of add cors to azure function, got myself a little bit stuck
t

tall-librarian-49374

03/20/2020, 3:47 PM
There is a
cors
block under
siteConfig
. Does it give you trouble?
n

nutritious-judge-27316

03/20/2020, 3:59 PM
SiteConfig = {
                  new FunctionAppSiteConfigCorsArgs
                  {
                    AllowedOrigins = "<https://google.co.uk>",  
                  },
                },
am i going going right way?
t

tall-librarian-49374

03/20/2020, 4:02 PM
I think so
n

nutritious-judge-27316

03/20/2020, 5:44 PM
thanks you put me right path, Awesome