{"action":"created","issue":{"url":"https://api.github.com/repos/expressjs/cors/issues/45","labels_url":"https://api.github.com/repos/expressjs/cors/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/expressjs/cors/issues/45/comments","events_url":"https://api.github.com/repos/expressjs/cors/issues/45/events","html_url":"https://github.com/expressjs/cors/issues/45","id":75999669,"number":45,"title":"cors error for https","user":{"login":"flosky","id":1607463,"avatar_url":"https://avatars.githubusercontent.com/u/1607463?v=3","gravatar_id":"","url":"https://api.github.com/users/flosky","html_url":"https://github.com/flosky","followers_url":"https://api.github.com/users/flosky/followers","following_url":"https://api.github.com/users/flosky/following{/other_user}","gists_url":"https://api.github.com/users/flosky/gists{/gist_id}","starred_url":"https://api.github.com/users/flosky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flosky/subscriptions","organizations_url":"https://api.github.com/users/flosky/orgs","repos_url":"https://api.github.com/users/flosky/repos","events_url":"https://api.github.com/users/flosky/events{/privacy}","received_events_url":"https://api.github.com/users/flosky/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-05-13T14:18:06Z","updated_at":"2016-01-12T20:56:24Z","closed_at":null,"body":"I create two servers, one with http and one with https\r\n\r\n    var server = http.createServer(app);\r\n    var secureServer = https.createServer(sslOptions, app);\r\n\r\ncors was already added to the app middleware.\r\nNow it works on http but not on https.\r\n"},"comment":{"url":"https://api.github.com/repos/expressjs/cors/issues/comments/171052018","html_url":"https://github.com/expressjs/cors/issues/45#issuecomment-171052018","issue_url":"https://api.github.com/repos/expressjs/cors/issues/45","id":171052018,"user":{"login":"ashblue","id":643307,"avatar_url":"https://avatars.githubusercontent.com/u/643307?v=3","gravatar_id":"","url":"https://api.github.com/users/ashblue","html_url":"https://github.com/ashblue","followers_url":"https://api.github.com/users/ashblue/followers","following_url":"https://api.github.com/users/ashblue/following{/other_user}","gists_url":"https://api.github.com/users/ashblue/gists{/gist_id}","starred_url":"https://api.github.com/users/ashblue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashblue/subscriptions","organizations_url":"https://api.github.com/users/ashblue/orgs","repos_url":"https://api.github.com/users/ashblue/repos","events_url":"https://api.github.com/users/ashblue/events{/privacy}","received_events_url":"https://api.github.com/users/ashblue/received_events","type":"User","site_admin":false},"created_at":"2016-01-12T20:56:24Z","updated_at":"2016-01-12T20:56:24Z","body":"@grofit can @troygoode mark this as resolved then? Was some resistance from our team to use this after seeing the open issue."}}