{"action":"created","issue":{"url":"https://api.github.com/repos/metabase/metabase/issues/4740","repository_url":"https://api.github.com/repos/metabase/metabase","labels_url":"https://api.github.com/repos/metabase/metabase/issues/4740/labels{/name}","comments_url":"https://api.github.com/repos/metabase/metabase/issues/4740/comments","events_url":"https://api.github.com/repos/metabase/metabase/issues/4740/events","html_url":"https://github.com/metabase/metabase/pull/4740","id":220588902,"number":4740,"title":"Allow mounting at non-root path, e.x. foo.com/metabase/, v2","user":{"login":"tlrobinson","id":18193,"avatar_url":"https://avatars0.githubusercontent.com/u/18193?v=4","gravatar_id":"","url":"https://api.github.com/users/tlrobinson","html_url":"https://github.com/tlrobinson","followers_url":"https://api.github.com/users/tlrobinson/followers","following_url":"https://api.github.com/users/tlrobinson/following{/other_user}","gists_url":"https://api.github.com/users/tlrobinson/gists{/gist_id}","starred_url":"https://api.github.com/users/tlrobinson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tlrobinson/subscriptions","organizations_url":"https://api.github.com/users/tlrobinson/orgs","repos_url":"https://api.github.com/users/tlrobinson/repos","events_url":"https://api.github.com/users/tlrobinson/events{/privacy}","received_events_url":"https://api.github.com/users/tlrobinson/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":38,"created_at":"2017-04-10T09:38:06Z","updated_at":"2018-02-12T09:38:44Z","closed_at":"2017-05-11T07:19:05Z","author_association":"OWNER","pull_request":{"url":"https://api.github.com/repos/metabase/metabase/pulls/4740","html_url":"https://github.com/metabase/metabase/pull/4740","diff_url":"https://github.com/metabase/metabase/pull/4740.diff","patch_url":"https://github.com/metabase/metabase/pull/4740.patch"},"body":"Resolves #2090 \r\n\r\nTODO:\r\n\r\n* [x] react-router\r\n* [x] API calls\r\n* [x] CSS `url()`\r\n* [x] `<img>`s\r\n* [x] inject `<base>` tag for assets\r\n* [x] set cookie path\r\n* [x] ensure none of the variables injected in the HTML are vulnerable to XSS\r\n* ~docs~\r\n\r\nBuilt jar (as of f1e317d): https://www.dropbox.com/s/bpnbse7ndw655zv/metabase-pr-4740.jar?dl=1\r\n\r\nExample Caddyfile (name it `Caddyfile` then run `caddy`):\r\n\r\n```\r\nhttp://localhost:3100\r\n\r\nproxy /metabase localhost:3000 {\r\n  without /metabase\r\n}\r\n```\r\n\r\nExample Nginx config:\r\n\r\n```\r\nserver {\r\n   listen       3100;\r\n   server_name  localhost;\r\n\r\n   location /metabase/ {\r\n       proxy_pass http://localhost:3000/;\r\n   }\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/metabase/metabase/issues/comments/364871153","html_url":"https://github.com/metabase/metabase/pull/4740#issuecomment-364871153","issue_url":"https://api.github.com/repos/metabase/metabase/issues/4740","id":364871153,"user":{"login":"dncpax","id":2836636,"avatar_url":"https://avatars0.githubusercontent.com/u/2836636?v=4","gravatar_id":"","url":"https://api.github.com/users/dncpax","html_url":"https://github.com/dncpax","followers_url":"https://api.github.com/users/dncpax/followers","following_url":"https://api.github.com/users/dncpax/following{/other_user}","gists_url":"https://api.github.com/users/dncpax/gists{/gist_id}","starred_url":"https://api.github.com/users/dncpax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dncpax/subscriptions","organizations_url":"https://api.github.com/users/dncpax/orgs","repos_url":"https://api.github.com/users/dncpax/repos","events_url":"https://api.github.com/users/dncpax/events{/privacy}","received_events_url":"https://api.github.com/users/dncpax/received_events","type":"User","site_admin":false},"created_at":"2018-02-12T09:38:44Z","updated_at":"2018-02-12T09:38:44Z","author_association":"NONE","body":"Hi there. Just a quick question: did you update site url? I was getting these links also wrong until I changed this setting."}}
{"actor":{"display_login":"dncpax"}}