{"action":"created","comment":{"url":"https://api.github.com/repos/openzipkin/zipkin/pulls/comments/139915100","pull_request_review_id":63911582,"id":139915100,"diff_hunk":"@@ -0,0 +1,11 @@\n+import $ from 'jquery';\n+\n+// read the public path from the <base> tag where it has to be set anyway because of\n+// html-webpack-plugin limitations: https://github.com/jantimon/html-webpack-plugin/issues/119\n+// otherwise it could be: window.location.pathname.replace(/(.*)\\/zipkin\\/.*/, '$1/zipkin/')\n+const contextRoot = $('base').attr('href');","path":"zipkin-ui/js/publicPath.js","position":null,"original_position":6,"commit_id":"ad4d38b248aff59568607b84aa932a031265ee28","original_commit_id":"8ab814ef54ea09ef89d69e1800d21418f807c6d8","user":{"login":"stepanv","id":883323,"avatar_url":"https://avatars2.githubusercontent.com/u/883323?v=4","gravatar_id":"","url":"https://api.github.com/users/stepanv","html_url":"https://github.com/stepanv","followers_url":"https://api.github.com/users/stepanv/followers","following_url":"https://api.github.com/users/stepanv/following{/other_user}","gists_url":"https://api.github.com/users/stepanv/gists{/gist_id}","starred_url":"https://api.github.com/users/stepanv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stepanv/subscriptions","organizations_url":"https://api.github.com/users/stepanv/orgs","repos_url":"https://api.github.com/users/stepanv/repos","events_url":"https://api.github.com/users/stepanv/events{/privacy}","received_events_url":"https://api.github.com/users/stepanv/received_events","type":"User","site_admin":false},"body":"Done","created_at":"2017-09-20T09:11:06Z","updated_at":"2017-09-20T09:11:07Z","html_url":"https://github.com/openzipkin/zipkin/pull/1732#discussion_r139915100","pull_request_url":"https://api.github.com/repos/openzipkin/zipkin/pulls/1732","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/openzipkin/zipkin/pulls/comments/139915100"},"html":{"href":"https://github.com/openzipkin/zipkin/pull/1732#discussion_r139915100"},"pull_request":{"href":"https://api.github.com/repos/openzipkin/zipkin/pulls/1732"}},"in_reply_to_id":139111496},"pull_request":{"url":"https://api.github.com/repos/openzipkin/zipkin/pulls/1732","id":140514402,"html_url":"https://github.com/openzipkin/zipkin/pull/1732","diff_url":"https://github.com/openzipkin/zipkin/pull/1732.diff","patch_url":"https://github.com/openzipkin/zipkin/pull/1732.patch","issue_url":"https://api.github.com/repos/openzipkin/zipkin/issues/1732","number":1732,"state":"open","locked":false,"title":"Support for running Zipkin behind a reverse proxy","user":{"login":"stepanv","id":883323,"avatar_url":"https://avatars2.githubusercontent.com/u/883323?v=4","gravatar_id":"","url":"https://api.github.com/users/stepanv","html_url":"https://github.com/stepanv","followers_url":"https://api.github.com/users/stepanv/followers","following_url":"https://api.github.com/users/stepanv/following{/other_user}","gists_url":"https://api.github.com/users/stepanv/gists{/gist_id}","starred_url":"https://api.github.com/users/stepanv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stepanv/subscriptions","organizations_url":"https://api.github.com/users/stepanv/orgs","repos_url":"https://api.github.com/users/stepanv/repos","events_url":"https://api.github.com/users/stepanv/events{/privacy}","received_events_url":"https://api.github.com/users/stepanv/received_events","type":"User","site_admin":false},"body":" - subfolder 'zipkin' is enforced\r\n - rewrite of the 'base' tag in the 'index.html' file is required\r\n\r\nThis implements the #1731 ","created_at":"2017-09-12T08:14:37Z","updated_at":"2017-09-20T09:11:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9b66880b7922434cc1171c64a43168cb9cbe4f9a","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/openzipkin/zipkin/pulls/1732/commits","review_comments_url":"https://api.github.com/repos/openzipkin/zipkin/pulls/1732/comments","review_comment_url":"https://api.github.com/repos/openzipkin/zipkin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openzipkin/zipkin/issues/1732/comments","statuses_url":"https://api.github.com/repos/openzipkin/zipkin/statuses/ad4d38b248aff59568607b84aa932a031265ee28","head":{"label":"stepanv:master","ref":"master","sha":"ad4d38b248aff59568607b84aa932a031265ee28","user":{"login":"stepanv","id":883323,"avatar_url":"https://avatars2.githubusercontent.com/u/883323?v=4","gravatar_id":"","url":"https://api.github.com/users/stepanv","html_url":"https://github.com/stepanv","followers_url":"https://api.github.com/users/stepanv/followers","following_url":"https://api.github.com/users/stepanv/following{/other_user}","gists_url":"https://api.github.com/users/stepanv/gists{/gist_id}","starred_url":"https://api.github.com/users/stepanv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stepanv/subscriptions","organizations_url":"https://api.github.com/users/stepanv/orgs","repos_url":"https://api.github.com/users/stepanv/repos","events_url":"https://api.github.com/users/stepanv/events{/privacy}","received_events_url":"https://api.github.com/users/stepanv/received_events","type":"User","site_admin":false},"repo":{"id":103145692,"name":"zipkin","full_name":"stepanv/zipkin","owner":{"login":"stepanv","id":883323,"avatar_url":"https://avatars2.githubusercontent.com/u/883323?v=4","gravatar_id":"","url":"https://api.github.com/users/stepanv","html_url":"https://github.com/stepanv","followers_url":"https://api.github.com/users/stepanv/followers","following_url":"https://api.github.com/users/stepanv/following{/other_user}","gists_url":"https://api.github.com/users/stepanv/gists{/gist_id}","starred_url":"https://api.github.com/users/stepanv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stepanv/subscriptions","organizations_url":"https://api.github.com/users/stepanv/orgs","repos_url":"https://api.github.com/users/stepanv/repos","events_url":"https://api.github.com/users/stepanv/events{/privacy}","received_events_url":"https://api.github.com/users/stepanv/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/stepanv/zipkin","description":"Zipkin is a distributed tracing system","fork":true,"url":"https://api.github.com/repos/stepanv/zipkin","forks_url":"https://api.github.com/repos/stepanv/zipkin/forks","keys_url":"https://api.github.com/repos/stepanv/zipkin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stepanv/zipkin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stepanv/zipkin/teams","hooks_url":"https://api.github.com/repos/stepanv/zipkin/hooks","issue_events_url":"https://api.github.com/repos/stepanv/zipkin/issues/events{/number}","events_url":"https://api.github.com/repos/stepanv/zipkin/events","assignees_url":"https://api.github.com/repos/stepanv/zipkin/assignees{/user}","branches_url":"https://api.github.com/repos/stepanv/zipkin/branches{/branch}","tags_url":"https://api.github.com/repos/stepanv/zipkin/tags","blobs_url":"https://api.github.com/repos/stepanv/zipkin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stepanv/zipkin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stepanv/zipkin/git/refs{/sha}","trees_url":"https://api.github.com/repos/stepanv/zipkin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stepanv/zipkin/statuses/{sha}","languages_url":"https://api.github.com/repos/stepanv/zipkin/languages","stargazers_url":"https://api.github.com/repos/stepanv/zipkin/stargazers","contributors_url":"https://api.github.com/repos/stepanv/zipkin/contributors","subscribers_url":"https://api.github.com/repos/stepanv/zipkin/subscribers","subscription_url":"https://api.github.com/repos/stepanv/zipkin/subscription","commits_url":"https://api.github.com/repos/stepanv/zipkin/commits{/sha}","git_commits_url":"https://api.github.com/repos/stepanv/zipkin/git/commits{/sha}","comments_url":"https://api.github.com/repos/stepanv/zipkin/comments{/number}","issue_comment_url":"https://api.github.com/repos/stepanv/zipkin/issues/comments{/number}","contents_url":"https://api.github.com/repos/stepanv/zipkin/contents/{+path}","compare_url":"https://api.github.com/repos/stepanv/zipkin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stepanv/zipkin/merges","archive_url":"https://api.github.com/repos/stepanv/zipkin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stepanv/zipkin/downloads","issues_url":"https://api.github.com/repos/stepanv/zipkin/issues{/number}","pulls_url":"https://api.github.com/repos/stepanv/zipkin/pulls{/number}","milestones_url":"https://api.github.com/repos/stepanv/zipkin/milestones{/number}","notifications_url":"https://api.github.com/repos/stepanv/zipkin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stepanv/zipkin/labels{/name}","releases_url":"https://api.github.com/repos/stepanv/zipkin/releases{/id}","deployments_url":"https://api.github.com/repos/stepanv/zipkin/deployments","created_at":"2017-09-11T14:23:53Z","updated_at":"2017-09-11T14:23:57Z","pushed_at":"2017-09-20T09:10:25Z","git_url":"git://github.com/stepanv/zipkin.git","ssh_url":"git@github.com:stepanv/zipkin.git","clone_url":"https://github.com/stepanv/zipkin.git","svn_url":"https://github.com/stepanv/zipkin","homepage":"http://zipkin.io","size":24698,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"openzipkin:master","ref":"master","sha":"e62c86f9093e8eaae5e070e67fd1764c02dfbf2b","user":{"login":"openzipkin","id":11860887,"avatar_url":"https://avatars3.githubusercontent.com/u/11860887?v=4","gravatar_id":"","url":"https://api.github.com/users/openzipkin","html_url":"https://github.com/openzipkin","followers_url":"https://api.github.com/users/openzipkin/followers","following_url":"https://api.github.com/users/openzipkin/following{/other_user}","gists_url":"https://api.github.com/users/openzipkin/gists{/gist_id}","starred_url":"https://api.github.com/users/openzipkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openzipkin/subscriptions","organizations_url":"https://api.github.com/users/openzipkin/orgs","repos_url":"https://api.github.com/users/openzipkin/repos","events_url":"https://api.github.com/users/openzipkin/events{/privacy}","received_events_url":"https://api.github.com/users/openzipkin/received_events","type":"Organization","site_admin":false},"repo":{"id":4576305,"name":"zipkin","full_name":"openzipkin/zipkin","owner":{"login":"openzipkin","id":11860887,"avatar_url":"https://avatars3.githubusercontent.com/u/11860887?v=4","gravatar_id":"","url":"https://api.github.com/users/openzipkin","html_url":"https://github.com/openzipkin","followers_url":"https://api.github.com/users/openzipkin/followers","following_url":"https://api.github.com/users/openzipkin/following{/other_user}","gists_url":"https://api.github.com/users/openzipkin/gists{/gist_id}","starred_url":"https://api.github.com/users/openzipkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openzipkin/subscriptions","organizations_url":"https://api.github.com/users/openzipkin/orgs","repos_url":"https://api.github.com/users/openzipkin/repos","events_url":"https://api.github.com/users/openzipkin/events{/privacy}","received_events_url":"https://api.github.com/users/openzipkin/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openzipkin/zipkin","description":"Zipkin is a distributed tracing system","fork":false,"url":"https://api.github.com/repos/openzipkin/zipkin","forks_url":"https://api.github.com/repos/openzipkin/zipkin/forks","keys_url":"https://api.github.com/repos/openzipkin/zipkin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openzipkin/zipkin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openzipkin/zipkin/teams","hooks_url":"https://api.github.com/repos/openzipkin/zipkin/hooks","issue_events_url":"https://api.github.com/repos/openzipkin/zipkin/issues/events{/number}","events_url":"https://api.github.com/repos/openzipkin/zipkin/events","assignees_url":"https://api.github.com/repos/openzipkin/zipkin/assignees{/user}","branches_url":"https://api.github.com/repos/openzipkin/zipkin/branches{/branch}","tags_url":"https://api.github.com/repos/openzipkin/zipkin/tags","blobs_url":"https://api.github.com/repos/openzipkin/zipkin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openzipkin/zipkin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openzipkin/zipkin/git/refs{/sha}","trees_url":"https://api.github.com/repos/openzipkin/zipkin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openzipkin/zipkin/statuses/{sha}","languages_url":"https://api.github.com/repos/openzipkin/zipkin/languages","stargazers_url":"https://api.github.com/repos/openzipkin/zipkin/stargazers","contributors_url":"https://api.github.com/repos/openzipkin/zipkin/contributors","subscribers_url":"https://api.github.com/repos/openzipkin/zipkin/subscribers","subscription_url":"https://api.github.com/repos/openzipkin/zipkin/subscription","commits_url":"https://api.github.com/repos/openzipkin/zipkin/commits{/sha}","git_commits_url":"https://api.github.com/repos/openzipkin/zipkin/git/commits{/sha}","comments_url":"https://api.github.com/repos/openzipkin/zipkin/comments{/number}","issue_comment_url":"https://api.github.com/repos/openzipkin/zipkin/issues/comments{/number}","contents_url":"https://api.github.com/repos/openzipkin/zipkin/contents/{+path}","compare_url":"https://api.github.com/repos/openzipkin/zipkin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openzipkin/zipkin/merges","archive_url":"https://api.github.com/repos/openzipkin/zipkin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openzipkin/zipkin/downloads","issues_url":"https://api.github.com/repos/openzipkin/zipkin/issues{/number}","pulls_url":"https://api.github.com/repos/openzipkin/zipkin/pulls{/number}","milestones_url":"https://api.github.com/repos/openzipkin/zipkin/milestones{/number}","notifications_url":"https://api.github.com/repos/openzipkin/zipkin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openzipkin/zipkin/labels{/name}","releases_url":"https://api.github.com/repos/openzipkin/zipkin/releases{/id}","deployments_url":"https://api.github.com/repos/openzipkin/zipkin/deployments","created_at":"2012-06-06T18:26:16Z","updated_at":"2017-09-20T04:32:52Z","pushed_at":"2017-09-20T09:10:28Z","git_url":"git://github.com/openzipkin/zipkin.git","ssh_url":"git@github.com:openzipkin/zipkin.git","clone_url":"https://github.com/openzipkin/zipkin.git","svn_url":"https://github.com/openzipkin/zipkin","homepage":"http://zipkin.io","size":25054,"stargazers_count":6595,"watchers_count":6595,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1037,"mirror_url":null,"open_issues_count":165,"forks":1037,"open_issues":165,"watchers":6595,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openzipkin/zipkin/pulls/1732"},"html":{"href":"https://github.com/openzipkin/zipkin/pull/1732"},"issue":{"href":"https://api.github.com/repos/openzipkin/zipkin/issues/1732"},"comments":{"href":"https://api.github.com/repos/openzipkin/zipkin/issues/1732/comments"},"review_comments":{"href":"https://api.github.com/repos/openzipkin/zipkin/pulls/1732/comments"},"review_comment":{"href":"https://api.github.com/repos/openzipkin/zipkin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openzipkin/zipkin/pulls/1732/commits"},"statuses":{"href":"https://api.github.com/repos/openzipkin/zipkin/statuses/ad4d38b248aff59568607b84aa932a031265ee28"}},"author_association":"NONE"}}
{"actor":{"display_login":"stepanv"}}