In issue #1 we added the ability to make cross domain posts but now we'd like to make this more secure by making posts available to a single domain.
This can be achieved by changing the property in the web section of the arm template from:
"cors": {
"allowedOrigins": [
"*"
]
}
to:
"cors": {
"allowedOrigins": [
"http://yourdomain.com"
]
}
The domain should be taken from a parameter filled out by the user upon deployment setup.