{"action":"created","issue":{"url":"https://api.github.com/repos/strongloop/loopback/issues/2712","repository_url":"https://api.github.com/repos/strongloop/loopback","labels_url":"https://api.github.com/repos/strongloop/loopback/issues/2712/labels{/name}","comments_url":"https://api.github.com/repos/strongloop/loopback/issues/2712/comments","events_url":"https://api.github.com/repos/strongloop/loopback/issues/2712/events","html_url":"https://github.com/strongloop/loopback/pull/2712","id":175117827,"number":2712,"title":"Added option to set restApiRoot to \"\" for servers run at root.","user":{"login":"jonathan-chin","id":7519412,"avatar_url":"https://avatars.githubusercontent.com/u/7519412?v=3","gravatar_id":"","url":"https://api.github.com/users/jonathan-chin","html_url":"https://github.com/jonathan-chin","followers_url":"https://api.github.com/users/jonathan-chin/followers","following_url":"https://api.github.com/users/jonathan-chin/following{/other_user}","gists_url":"https://api.github.com/users/jonathan-chin/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathan-chin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathan-chin/subscriptions","organizations_url":"https://api.github.com/users/jonathan-chin/orgs","repos_url":"https://api.github.com/users/jonathan-chin/repos","events_url":"https://api.github.com/users/jonathan-chin/events{/privacy}","received_events_url":"https://api.github.com/users/jonathan-chin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-05T19:06:49Z","updated_at":"2016-09-05T19:06:50Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/strongloop/loopback/pulls/2712","html_url":"https://github.com/strongloop/loopback/pull/2712","diff_url":"https://github.com/strongloop/loopback/pull/2712.diff","patch_url":"https://github.com/strongloop/loopback/pull/2712.patch"},"body":"Previously, if you ran loopback at the root directory, verification urls wouldn't be generated correctly. For example:\r\n\r\n`https://api.example.com//users/etc-etc`\r\ninstead of\r\n`https://api.example.com/users/etc-etc`\r\n(note the double slash)\r\n\r\nThis was due to empty strings (\"\") resolving to false in javascript. A simple if statement fixes it."},"comment":{"url":"https://api.github.com/repos/strongloop/loopback/issues/comments/244800379","html_url":"https://github.com/strongloop/loopback/pull/2712#issuecomment-244800379","issue_url":"https://api.github.com/repos/strongloop/loopback/issues/2712","id":244800379,"user":{"login":"slnode","id":3865961,"avatar_url":"https://avatars.githubusercontent.com/u/3865961?v=3","gravatar_id":"","url":"https://api.github.com/users/slnode","html_url":"https://github.com/slnode","followers_url":"https://api.github.com/users/slnode/followers","following_url":"https://api.github.com/users/slnode/following{/other_user}","gists_url":"https://api.github.com/users/slnode/gists{/gist_id}","starred_url":"https://api.github.com/users/slnode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slnode/subscriptions","organizations_url":"https://api.github.com/users/slnode/orgs","repos_url":"https://api.github.com/users/slnode/repos","events_url":"https://api.github.com/users/slnode/events{/privacy}","received_events_url":"https://api.github.com/users/slnode/received_events","type":"User","site_admin":false},"created_at":"2016-09-05T19:06:50Z","updated_at":"2016-09-05T19:06:50Z","body":"Can one of the admins verify this patch?"}}
{"actor":{"display_login":"slnode"}}