{"action":"created","issue":{"url":"https://api.github.com/repos/este/este/issues/620","labels_url":"https://api.github.com/repos/este/este/issues/620/labels{/name}","comments_url":"https://api.github.com/repos/este/este/issues/620/comments","events_url":"https://api.github.com/repos/este/este/issues/620/events","html_url":"https://github.com/este/este/pull/620","id":119188482,"number":620,"title":"Fix assets paths when server started from different location than root of project","user":{"login":"ondrejbartas","id":45809,"avatar_url":"https://avatars.githubusercontent.com/u/45809?v=3","gravatar_id":"","url":"https://api.github.com/users/ondrejbartas","html_url":"https://github.com/ondrejbartas","followers_url":"https://api.github.com/users/ondrejbartas/followers","following_url":"https://api.github.com/users/ondrejbartas/following{/other_user}","gists_url":"https://api.github.com/users/ondrejbartas/gists{/gist_id}","starred_url":"https://api.github.com/users/ondrejbartas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ondrejbartas/subscriptions","organizations_url":"https://api.github.com/users/ondrejbartas/orgs","repos_url":"https://api.github.com/users/ondrejbartas/repos","events_url":"https://api.github.com/users/ondrejbartas/events{/privacy}","received_events_url":"https://api.github.com/users/ondrejbartas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-27T12:27:55Z","updated_at":"2015-11-27T20:22:24Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/este/este/pulls/620","html_url":"https://github.com/este/este/pull/620","diff_url":"https://github.com/este/este/pull/620.diff","patch_url":"https://github.com/este/este/pull/620.patch"},"body":"When you are starting Este by Passenger you are setting `passenger_startup_file` and then you are in different directory then expected.\r\n\r\nBy using `__dirname` you will get exact location of `assets.js` and then you can easily traverse to build directory"},"comment":{"url":"https://api.github.com/repos/este/este/issues/comments/160200031","html_url":"https://github.com/este/este/pull/620#issuecomment-160200031","issue_url":"https://api.github.com/repos/este/este/issues/620","id":160200031,"user":{"login":"steida","id":66249,"avatar_url":"https://avatars.githubusercontent.com/u/66249?v=3","gravatar_id":"","url":"https://api.github.com/users/steida","html_url":"https://github.com/steida","followers_url":"https://api.github.com/users/steida/followers","following_url":"https://api.github.com/users/steida/following{/other_user}","gists_url":"https://api.github.com/users/steida/gists{/gist_id}","starred_url":"https://api.github.com/users/steida/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steida/subscriptions","organizations_url":"https://api.github.com/users/steida/orgs","repos_url":"https://api.github.com/users/steida/repos","events_url":"https://api.github.com/users/steida/events{/privacy}","received_events_url":"https://api.github.com/users/steida/received_events","type":"User","site_admin":false},"created_at":"2015-11-27T20:22:24Z","updated_at":"2015-11-27T20:22:24Z","body":"Thank you for PR. Please add explaining comment directly into code. As you can se in many places in Este source code, I am trying to explain everything unusual."}}