{"action":"created","issue":{"url":"https://api.github.com/repos/jfromaniello/express-unless/issues/10","labels_url":"https://api.github.com/repos/jfromaniello/express-unless/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/jfromaniello/express-unless/issues/10/comments","events_url":"https://api.github.com/repos/jfromaniello/express-unless/issues/10/events","html_url":"https://github.com/jfromaniello/express-unless/pull/10","id":98465765,"number":10,"title":"add method&&path support fix #6","user":{"login":"zhiyelee","id":681150,"avatar_url":"https://avatars.githubusercontent.com/u/681150?v=3","gravatar_id":"","url":"https://api.github.com/users/zhiyelee","html_url":"https://github.com/zhiyelee","followers_url":"https://api.github.com/users/zhiyelee/followers","following_url":"https://api.github.com/users/zhiyelee/following{/other_user}","gists_url":"https://api.github.com/users/zhiyelee/gists{/gist_id}","starred_url":"https://api.github.com/users/zhiyelee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhiyelee/subscriptions","organizations_url":"https://api.github.com/users/zhiyelee/orgs","repos_url":"https://api.github.com/users/zhiyelee/repos","events_url":"https://api.github.com/users/zhiyelee/events{/privacy}","received_events_url":"https://api.github.com/users/zhiyelee/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-07-31T20:29:34Z","updated_at":"2015-08-27T12:45:21Z","closed_at":"2015-08-27T12:44:41Z","pull_request":{"url":"https://api.github.com/repos/jfromaniello/express-unless/pulls/10","html_url":"https://github.com/jfromaniello/express-unless/pull/10","diff_url":"https://github.com/jfromaniello/express-unless/pull/10.diff","patch_url":"https://github.com/jfromaniello/express-unless/pull/10.patch"},"body":"Fix #6 \r\n\r\nCan use like this:\r\n\r\n```js\r\nvar unless = require('express-unless');\r\n\r\n\r\nvar static = express.static(__dirname + '/public');\r\nstatic.unless = unless;\r\nvar params = {\r\n      path: [\r\n        {\r\n          url: '/test',\r\n          methods: ['POST', 'GET']\r\n        },\r\n        {\r\n          url: '/boo',\r\n          methods: ['POST']\r\n        },\r\n      ]\r\n};\r\napp.use(static.unless({ path: [ ] }));\r\n```"},"comment":{"url":"https://api.github.com/repos/jfromaniello/express-unless/issues/comments/135410492","html_url":"https://github.com/jfromaniello/express-unless/pull/10#issuecomment-135410492","issue_url":"https://api.github.com/repos/jfromaniello/express-unless/issues/10","id":135410492,"user":{"login":"jfromaniello","id":178512,"avatar_url":"https://avatars.githubusercontent.com/u/178512?v=3","gravatar_id":"","url":"https://api.github.com/users/jfromaniello","html_url":"https://github.com/jfromaniello","followers_url":"https://api.github.com/users/jfromaniello/followers","following_url":"https://api.github.com/users/jfromaniello/following{/other_user}","gists_url":"https://api.github.com/users/jfromaniello/gists{/gist_id}","starred_url":"https://api.github.com/users/jfromaniello/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfromaniello/subscriptions","organizations_url":"https://api.github.com/users/jfromaniello/orgs","repos_url":"https://api.github.com/users/jfromaniello/repos","events_url":"https://api.github.com/users/jfromaniello/events{/privacy}","received_events_url":"https://api.github.com/users/jfromaniello/received_events","type":"User","site_admin":false},"created_at":"2015-08-27T12:45:21Z","updated_at":"2015-08-27T12:45:21Z","body":"Thanks, published as v0.3.0"}}