Skip to content

Instantly share code, notes, and snippets.

@namiwang
Created May 31, 2016 08:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save namiwang/54334bf7f40f8d8e7dda0b9b5430719e to your computer and use it in GitHub Desktop.
Save namiwang/54334bf7f40f8d8e7dda0b9b5430719e to your computer and use it in GitHub Desktop.
set cors for azure blob
azure storage cors set -a [-beep-] -k [-beep-] --blob --cors "[{\"AllowedOrigins\":\"http://foo.bar.com, http://127.0.0.1:1234\",\"AllowedMethods\":\"GET\",\"MaxAgeInSeconds\":\"86400\",\"AllowedHeaders\":\"*\",\"ExposedHeaders\":\"*\"}]"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment