{"action":"created","comment":{"url":"https://api.github.com/repos/Kinto/kinto-admin/pulls/comments/75632176","id":75632176,"diff_hunk":"@@ -189,6 +189,18 @@ For instance:\n If you use `target.merkle.tree.file.name` it will render the string\n `foobar` and `target.proof.hash` will render `abcd`.\n \n+### Assets path url\n+\n+By default this package assumes the static admin will be hosted at the root of a given domain; if you plan on hosting it under a given sub path, you need to build the admin setting the `KINTO_ADMIN_PUBLIC_PATH` env var, specifying the absolute root URL path where the static asset files are obtainable.\n+\n+For example, if you plan on hosting the admin at `https://mydomain.tld/kinto-admin/`, you need to build it like this:\n+\n+```\n+$ KINTO_ADMIN_PUBLIC_PATH=/kinto-admin/ npm run dist\n+```\n+\n+Note: Unfortunately, the `kinto-admin build` CLI command doesn't support this feature.","path":"README.md","position":14,"original_position":14,"commit_id":"e50d7923fff38d21c0604f56f10af8bf11ce1562","original_commit_id":"e50d7923fff38d21c0604f56f10af8bf11ce1562","user":{"login":"Natim","id":229453,"avatar_url":"https://avatars.githubusercontent.com/u/229453?v=3","gravatar_id":"","url":"https://api.github.com/users/Natim","html_url":"https://github.com/Natim","followers_url":"https://api.github.com/users/Natim/followers","following_url":"https://api.github.com/users/Natim/following{/other_user}","gists_url":"https://api.github.com/users/Natim/gists{/gist_id}","starred_url":"https://api.github.com/users/Natim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Natim/subscriptions","organizations_url":"https://api.github.com/users/Natim/orgs","repos_url":"https://api.github.com/users/Natim/repos","events_url":"https://api.github.com/users/Natim/events{/privacy}","received_events_url":"https://api.github.com/users/Natim/received_events","type":"User","site_admin":false},"body":"> Also note that if you can find any smart simple way to post-update the path the CSS have been built against, I take it too :) (no, sed is not an option) \r\n\r\nYes it what I was thinking about. I will have a look at it.","created_at":"2016-08-22T08:00:40Z","updated_at":"2016-08-22T08:00:40Z","html_url":"https://github.com/Kinto/kinto-admin/pull/190#discussion_r75632176","pull_request_url":"https://api.github.com/repos/Kinto/kinto-admin/pulls/190","_links":{"self":{"href":"https://api.github.com/repos/Kinto/kinto-admin/pulls/comments/75632176"},"html":{"href":"https://github.com/Kinto/kinto-admin/pull/190#discussion_r75632176"},"pull_request":{"href":"https://api.github.com/repos/Kinto/kinto-admin/pulls/190"}}},"pull_request":{"url":"https://api.github.com/repos/Kinto/kinto-admin/pulls/190","id":81969671,"html_url":"https://github.com/Kinto/kinto-admin/pull/190","diff_url":"https://github.com/Kinto/kinto-admin/pull/190.diff","patch_url":"https://github.com/Kinto/kinto-admin/pull/190.patch","issue_url":"https://api.github.com/repos/Kinto/kinto-admin/issues/190","number":190,"state":"open","locked":false,"title":"Refs #189: Document the KINTO_ADMIN_PUBLIC_PATH env var.","user":{"login":"n1k0","id":41547,"avatar_url":"https://avatars.githubusercontent.com/u/41547?v=3","gravatar_id":"","url":"https://api.github.com/users/n1k0","html_url":"https://github.com/n1k0","followers_url":"https://api.github.com/users/n1k0/followers","following_url":"https://api.github.com/users/n1k0/following{/other_user}","gists_url":"https://api.github.com/users/n1k0/gists{/gist_id}","starred_url":"https://api.github.com/users/n1k0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/n1k0/subscriptions","organizations_url":"https://api.github.com/users/n1k0/orgs","repos_url":"https://api.github.com/users/n1k0/repos","events_url":"https://api.github.com/users/n1k0/events{/privacy}","received_events_url":"https://api.github.com/users/n1k0/received_events","type":"User","site_admin":false},"body":"refs #189. r=? @Natim","created_at":"2016-08-19T11:57:42Z","updated_at":"2016-08-22T08:00:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"47df6ec32aae634b69627e510bf92e9b1279f972","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Kinto/kinto-admin/pulls/190/commits","review_comments_url":"https://api.github.com/repos/Kinto/kinto-admin/pulls/190/comments","review_comment_url":"https://api.github.com/repos/Kinto/kinto-admin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Kinto/kinto-admin/issues/190/comments","statuses_url":"https://api.github.com/repos/Kinto/kinto-admin/statuses/e50d7923fff38d21c0604f56f10af8bf11ce1562","head":{"label":"Kinto:189-docfix-assets-path-url","ref":"189-docfix-assets-path-url","sha":"e50d7923fff38d21c0604f56f10af8bf11ce1562","user":{"login":"Kinto","id":13413813,"avatar_url":"https://avatars.githubusercontent.com/u/13413813?v=3","gravatar_id":"","url":"https://api.github.com/users/Kinto","html_url":"https://github.com/Kinto","followers_url":"https://api.github.com/users/Kinto/followers","following_url":"https://api.github.com/users/Kinto/following{/other_user}","gists_url":"https://api.github.com/users/Kinto/gists{/gist_id}","starred_url":"https://api.github.com/users/Kinto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kinto/subscriptions","organizations_url":"https://api.github.com/users/Kinto/orgs","repos_url":"https://api.github.com/users/Kinto/repos","events_url":"https://api.github.com/users/Kinto/events{/privacy}","received_events_url":"https://api.github.com/users/Kinto/received_events","type":"Organization","site_admin":false},"repo":{"id":47711273,"name":"kinto-admin","full_name":"Kinto/kinto-admin","owner":{"login":"Kinto","id":13413813,"avatar_url":"https://avatars.githubusercontent.com/u/13413813?v=3","gravatar_id":"","url":"https://api.github.com/users/Kinto","html_url":"https://github.com/Kinto","followers_url":"https://api.github.com/users/Kinto/followers","following_url":"https://api.github.com/users/Kinto/following{/other_user}","gists_url":"https://api.github.com/users/Kinto/gists{/gist_id}","starred_url":"https://api.github.com/users/Kinto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kinto/subscriptions","organizations_url":"https://api.github.com/users/Kinto/orgs","repos_url":"https://api.github.com/users/Kinto/repos","events_url":"https://api.github.com/users/Kinto/events{/privacy}","received_events_url":"https://api.github.com/users/Kinto/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Kinto/kinto-admin","description":"Kinto React Administration.","fork":false,"url":"https://api.github.com/repos/Kinto/kinto-admin","forks_url":"https://api.github.com/repos/Kinto/kinto-admin/forks","keys_url":"https://api.github.com/repos/Kinto/kinto-admin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Kinto/kinto-admin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Kinto/kinto-admin/teams","hooks_url":"https://api.github.com/repos/Kinto/kinto-admin/hooks","issue_events_url":"https://api.github.com/repos/Kinto/kinto-admin/issues/events{/number}","events_url":"https://api.github.com/repos/Kinto/kinto-admin/events","assignees_url":"https://api.github.com/repos/Kinto/kinto-admin/assignees{/user}","branches_url":"https://api.github.com/repos/Kinto/kinto-admin/branches{/branch}","tags_url":"https://api.github.com/repos/Kinto/kinto-admin/tags","blobs_url":"https://api.github.com/repos/Kinto/kinto-admin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Kinto/kinto-admin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Kinto/kinto-admin/git/refs{/sha}","trees_url":"https://api.github.com/repos/Kinto/kinto-admin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Kinto/kinto-admin/statuses/{sha}","languages_url":"https://api.github.com/repos/Kinto/kinto-admin/languages","stargazers_url":"https://api.github.com/repos/Kinto/kinto-admin/stargazers","contributors_url":"https://api.github.com/repos/Kinto/kinto-admin/contributors","subscribers_url":"https://api.github.com/repos/Kinto/kinto-admin/subscribers","subscription_url":"https://api.github.com/repos/Kinto/kinto-admin/subscription","commits_url":"https://api.github.com/repos/Kinto/kinto-admin/commits{/sha}","git_commits_url":"https://api.github.com/repos/Kinto/kinto-admin/git/commits{/sha}","comments_url":"https://api.github.com/repos/Kinto/kinto-admin/comments{/number}","issue_comment_url":"https://api.github.com/repos/Kinto/kinto-admin/issues/comments{/number}","contents_url":"https://api.github.com/repos/Kinto/kinto-admin/contents/{+path}","compare_url":"https://api.github.com/repos/Kinto/kinto-admin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Kinto/kinto-admin/merges","archive_url":"https://api.github.com/repos/Kinto/kinto-admin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Kinto/kinto-admin/downloads","issues_url":"https://api.github.com/repos/Kinto/kinto-admin/issues{/number}","pulls_url":"https://api.github.com/repos/Kinto/kinto-admin/pulls{/number}","milestones_url":"https://api.github.com/repos/Kinto/kinto-admin/milestones{/number}","notifications_url":"https://api.github.com/repos/Kinto/kinto-admin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Kinto/kinto-admin/labels{/name}","releases_url":"https://api.github.com/repos/Kinto/kinto-admin/releases{/id}","deployments_url":"https://api.github.com/repos/Kinto/kinto-admin/deployments","created_at":"2015-12-09T18:41:15Z","updated_at":"2016-08-20T19:11:44Z","pushed_at":"2016-08-22T07:26:09Z","git_url":"git://github.com/Kinto/kinto-admin.git","ssh_url":"git@github.com:Kinto/kinto-admin.git","clone_url":"https://github.com/Kinto/kinto-admin.git","svn_url":"https://github.com/Kinto/kinto-admin","homepage":"http://kinto.github.io/kinto-admin/","size":3051,"stargazers_count":47,"watchers_count":47,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":9,"mirror_url":null,"open_issues_count":32,"forks":9,"open_issues":32,"watchers":47,"default_branch":"master"}},"base":{"label":"Kinto:master","ref":"master","sha":"581ca3d24f3d9f3392cf885eeb033d0d6df9f516","user":{"login":"Kinto","id":13413813,"avatar_url":"https://avatars.githubusercontent.com/u/13413813?v=3","gravatar_id":"","url":"https://api.github.com/users/Kinto","html_url":"https://github.com/Kinto","followers_url":"https://api.github.com/users/Kinto/followers","following_url":"https://api.github.com/users/Kinto/following{/other_user}","gists_url":"https://api.github.com/users/Kinto/gists{/gist_id}","starred_url":"https://api.github.com/users/Kinto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kinto/subscriptions","organizations_url":"https://api.github.com/users/Kinto/orgs","repos_url":"https://api.github.com/users/Kinto/repos","events_url":"https://api.github.com/users/Kinto/events{/privacy}","received_events_url":"https://api.github.com/users/Kinto/received_events","type":"Organization","site_admin":false},"repo":{"id":47711273,"name":"kinto-admin","full_name":"Kinto/kinto-admin","owner":{"login":"Kinto","id":13413813,"avatar_url":"https://avatars.githubusercontent.com/u/13413813?v=3","gravatar_id":"","url":"https://api.github.com/users/Kinto","html_url":"https://github.com/Kinto","followers_url":"https://api.github.com/users/Kinto/followers","following_url":"https://api.github.com/users/Kinto/following{/other_user}","gists_url":"https://api.github.com/users/Kinto/gists{/gist_id}","starred_url":"https://api.github.com/users/Kinto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kinto/subscriptions","organizations_url":"https://api.github.com/users/Kinto/orgs","repos_url":"https://api.github.com/users/Kinto/repos","events_url":"https://api.github.com/users/Kinto/events{/privacy}","received_events_url":"https://api.github.com/users/Kinto/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Kinto/kinto-admin","description":"Kinto React Administration.","fork":false,"url":"https://api.github.com/repos/Kinto/kinto-admin","forks_url":"https://api.github.com/repos/Kinto/kinto-admin/forks","keys_url":"https://api.github.com/repos/Kinto/kinto-admin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Kinto/kinto-admin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Kinto/kinto-admin/teams","hooks_url":"https://api.github.com/repos/Kinto/kinto-admin/hooks","issue_events_url":"https://api.github.com/repos/Kinto/kinto-admin/issues/events{/number}","events_url":"https://api.github.com/repos/Kinto/kinto-admin/events","assignees_url":"https://api.github.com/repos/Kinto/kinto-admin/assignees{/user}","branches_url":"https://api.github.com/repos/Kinto/kinto-admin/branches{/branch}","tags_url":"https://api.github.com/repos/Kinto/kinto-admin/tags","blobs_url":"https://api.github.com/repos/Kinto/kinto-admin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Kinto/kinto-admin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Kinto/kinto-admin/git/refs{/sha}","trees_url":"https://api.github.com/repos/Kinto/kinto-admin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Kinto/kinto-admin/statuses/{sha}","languages_url":"https://api.github.com/repos/Kinto/kinto-admin/languages","stargazers_url":"https://api.github.com/repos/Kinto/kinto-admin/stargazers","contributors_url":"https://api.github.com/repos/Kinto/kinto-admin/contributors","subscribers_url":"https://api.github.com/repos/Kinto/kinto-admin/subscribers","subscription_url":"https://api.github.com/repos/Kinto/kinto-admin/subscription","commits_url":"https://api.github.com/repos/Kinto/kinto-admin/commits{/sha}","git_commits_url":"https://api.github.com/repos/Kinto/kinto-admin/git/commits{/sha}","comments_url":"https://api.github.com/repos/Kinto/kinto-admin/comments{/number}","issue_comment_url":"https://api.github.com/repos/Kinto/kinto-admin/issues/comments{/number}","contents_url":"https://api.github.com/repos/Kinto/kinto-admin/contents/{+path}","compare_url":"https://api.github.com/repos/Kinto/kinto-admin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Kinto/kinto-admin/merges","archive_url":"https://api.github.com/repos/Kinto/kinto-admin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Kinto/kinto-admin/downloads","issues_url":"https://api.github.com/repos/Kinto/kinto-admin/issues{/number}","pulls_url":"https://api.github.com/repos/Kinto/kinto-admin/pulls{/number}","milestones_url":"https://api.github.com/repos/Kinto/kinto-admin/milestones{/number}","notifications_url":"https://api.github.com/repos/Kinto/kinto-admin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Kinto/kinto-admin/labels{/name}","releases_url":"https://api.github.com/repos/Kinto/kinto-admin/releases{/id}","deployments_url":"https://api.github.com/repos/Kinto/kinto-admin/deployments","created_at":"2015-12-09T18:41:15Z","updated_at":"2016-08-20T19:11:44Z","pushed_at":"2016-08-22T07:26:09Z","git_url":"git://github.com/Kinto/kinto-admin.git","ssh_url":"git@github.com:Kinto/kinto-admin.git","clone_url":"https://github.com/Kinto/kinto-admin.git","svn_url":"https://github.com/Kinto/kinto-admin","homepage":"http://kinto.github.io/kinto-admin/","size":3051,"stargazers_count":47,"watchers_count":47,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":9,"mirror_url":null,"open_issues_count":32,"forks":9,"open_issues":32,"watchers":47,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Kinto/kinto-admin/pulls/190"},"html":{"href":"https://github.com/Kinto/kinto-admin/pull/190"},"issue":{"href":"https://api.github.com/repos/Kinto/kinto-admin/issues/190"},"comments":{"href":"https://api.github.com/repos/Kinto/kinto-admin/issues/190/comments"},"review_comments":{"href":"https://api.github.com/repos/Kinto/kinto-admin/pulls/190/comments"},"review_comment":{"href":"https://api.github.com/repos/Kinto/kinto-admin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Kinto/kinto-admin/pulls/190/commits"},"statuses":{"href":"https://api.github.com/repos/Kinto/kinto-admin/statuses/e50d7923fff38d21c0604f56f10af8bf11ce1562"}}}}
{"actor":{"display_login":"Natim"}}