{"action":"created","issue":{"url":"https://api.github.com/repos/Azure/azure-mobile-apps-node/issues/245","labels_url":"https://api.github.com/repos/Azure/azure-mobile-apps-node/issues/245/labels{/name}","comments_url":"https://api.github.com/repos/Azure/azure-mobile-apps-node/issues/245/comments","events_url":"https://api.github.com/repos/Azure/azure-mobile-apps-node/issues/245/events","html_url":"https://github.com/Azure/azure-mobile-apps-node/issues/245","id":119609883,"number":245,"title":"Make CORS work when running locally (i.e. developer mode)","user":{"login":"adrianhall","id":1489465,"avatar_url":"https://avatars.githubusercontent.com/u/1489465?v=3","gravatar_id":"","url":"https://api.github.com/users/adrianhall","html_url":"https://github.com/adrianhall","followers_url":"https://api.github.com/users/adrianhall/followers","following_url":"https://api.github.com/users/adrianhall/following{/other_user}","gists_url":"https://api.github.com/users/adrianhall/gists{/gist_id}","starred_url":"https://api.github.com/users/adrianhall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrianhall/subscriptions","organizations_url":"https://api.github.com/users/adrianhall/orgs","repos_url":"https://api.github.com/users/adrianhall/repos","events_url":"https://api.github.com/users/adrianhall/events{/privacy}","received_events_url":"https://api.github.com/users/adrianhall/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Azure/azure-mobile-apps-node/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"danderson00","id":1265935,"avatar_url":"https://avatars.githubusercontent.com/u/1265935?v=3","gravatar_id":"","url":"https://api.github.com/users/danderson00","html_url":"https://github.com/danderson00","followers_url":"https://api.github.com/users/danderson00/followers","following_url":"https://api.github.com/users/danderson00/following{/other_user}","gists_url":"https://api.github.com/users/danderson00/gists{/gist_id}","starred_url":"https://api.github.com/users/danderson00/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danderson00/subscriptions","organizations_url":"https://api.github.com/users/danderson00/orgs","repos_url":"https://api.github.com/users/danderson00/repos","events_url":"https://api.github.com/users/danderson00/events{/privacy}","received_events_url":"https://api.github.com/users/danderson00/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/Azure/azure-mobile-apps-node/milestones/2","html_url":"https://github.com/Azure/azure-mobile-apps-node/milestones/v2.0.0-GA","labels_url":"https://api.github.com/repos/Azure/azure-mobile-apps-node/milestones/2/labels","id":1347603,"number":2,"title":"v2.0.0-GA","description":"The first GA release of the NodeJS SDK (note that the date is a placeholder and not a commitment)","creator":{"login":"adrianhall","id":1489465,"avatar_url":"https://avatars.githubusercontent.com/u/1489465?v=3","gravatar_id":"","url":"https://api.github.com/users/adrianhall","html_url":"https://github.com/adrianhall","followers_url":"https://api.github.com/users/adrianhall/followers","following_url":"https://api.github.com/users/adrianhall/following{/other_user}","gists_url":"https://api.github.com/users/adrianhall/gists{/gist_id}","starred_url":"https://api.github.com/users/adrianhall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrianhall/subscriptions","organizations_url":"https://api.github.com/users/adrianhall/orgs","repos_url":"https://api.github.com/users/adrianhall/repos","events_url":"https://api.github.com/users/adrianhall/events{/privacy}","received_events_url":"https://api.github.com/users/adrianhall/received_events","type":"User","site_admin":false},"open_issues":23,"closed_issues":21,"state":"open","created_at":"2015-10-09T17:06:31Z","updated_at":"2015-12-19T00:23:19Z","due_on":"2016-01-29T08:00:00Z","closed_at":null},"comments":3,"created_at":"2015-11-30T23:59:22Z","updated_at":"2015-12-19T12:06:25Z","closed_at":null,"body":"Azure App Service handles CORS explicitly through the Settings -> CORS options.  When running within Azure App Service, the SDK should not do any CORS handling, delegating that functionality to the App Service.\r\n\r\nIf the server is running locally in development mode, CORS should \"do the right thing\" - likely allowing localhost:*.  This will allow the user to develop locally without the server getting in the way.\r\n\r\nIdeally, there would be an option to enable CORS handling that is loaded from azureMobile.js.  CORS handling would be disabled by default (since the App Service environment is the default)"},"comment":{"url":"https://api.github.com/repos/Azure/azure-mobile-apps-node/issues/comments/165980644","html_url":"https://github.com/Azure/azure-mobile-apps-node/issues/245#issuecomment-165980644","issue_url":"https://api.github.com/repos/Azure/azure-mobile-apps-node/issues/245","id":165980644,"user":{"login":"joewood","id":1389583,"avatar_url":"https://avatars.githubusercontent.com/u/1389583?v=3","gravatar_id":"","url":"https://api.github.com/users/joewood","html_url":"https://github.com/joewood","followers_url":"https://api.github.com/users/joewood/followers","following_url":"https://api.github.com/users/joewood/following{/other_user}","gists_url":"https://api.github.com/users/joewood/gists{/gist_id}","starred_url":"https://api.github.com/users/joewood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joewood/subscriptions","organizations_url":"https://api.github.com/users/joewood/orgs","repos_url":"https://api.github.com/users/joewood/repos","events_url":"https://api.github.com/users/joewood/events{/privacy}","received_events_url":"https://api.github.com/users/joewood/received_events","type":"User","site_admin":false},"created_at":"2015-12-19T12:06:25Z","updated_at":"2015-12-19T12:06:25Z","body":"I'm seeing CORS errors running locally. Has this been fixed and is it in the GA build and not the \"2.0.0-beta1\" build?"}}