{"action":"created","issue":{"url":"https://api.github.com/repos/laravel/elixir/issues/35","labels_url":"https://api.github.com/repos/laravel/elixir/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/laravel/elixir/issues/35/comments","events_url":"https://api.github.com/repos/laravel/elixir/issues/35/events","html_url":"https://github.com/laravel/elixir/pull/35","id":52632633,"number":35,"title":"Added ability to change public directory","user":{"login":"Marwelln","id":128591,"avatar_url":"https://avatars.githubusercontent.com/u/128591?v=3","gravatar_id":"","url":"https://api.github.com/users/Marwelln","html_url":"https://github.com/Marwelln","followers_url":"https://api.github.com/users/Marwelln/followers","following_url":"https://api.github.com/users/Marwelln/following{/other_user}","gists_url":"https://api.github.com/users/Marwelln/gists{/gist_id}","starred_url":"https://api.github.com/users/Marwelln/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Marwelln/subscriptions","organizations_url":"https://api.github.com/users/Marwelln/orgs","repos_url":"https://api.github.com/users/Marwelln/repos","events_url":"https://api.github.com/users/Marwelln/events{/privacy}","received_events_url":"https://api.github.com/users/Marwelln/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2014-12-22T09:26:34Z","updated_at":"2015-03-13T16:19:51Z","closed_at":"2015-02-25T17:56:33Z","pull_request":{"url":"https://api.github.com/repos/laravel/elixir/pulls/35","html_url":"https://github.com/laravel/elixir/pull/35","diff_url":"https://github.com/laravel/elixir/pull/35.diff","patch_url":"https://github.com/laravel/elixir/pull/35.patch"},"body":"If you didn't use `public` as public directory, version would fail, no matter what because it was hard coded. This change will allow you to change it.\r\n\r\nIf you are using `public_html` instead of `public`, you can with this change use\r\n\r\n    .version('css/app.css', 'public_html', 'public_html');\r\n\r\nThis will set the base path to `public_html` (third argument). Second argument would tell the build directory to be `public_html/build`."},"comment":{"url":"https://api.github.com/repos/laravel/elixir/issues/comments/79093874","html_url":"https://github.com/laravel/elixir/pull/35#issuecomment-79093874","issue_url":"https://api.github.com/repos/laravel/elixir/issues/35","id":79093874,"user":{"login":"patrickbrouwers","id":7728097,"avatar_url":"https://avatars.githubusercontent.com/u/7728097?v=3","gravatar_id":"","url":"https://api.github.com/users/patrickbrouwers","html_url":"https://github.com/patrickbrouwers","followers_url":"https://api.github.com/users/patrickbrouwers/followers","following_url":"https://api.github.com/users/patrickbrouwers/following{/other_user}","gists_url":"https://api.github.com/users/patrickbrouwers/gists{/gist_id}","starred_url":"https://api.github.com/users/patrickbrouwers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patrickbrouwers/subscriptions","organizations_url":"https://api.github.com/users/patrickbrouwers/orgs","repos_url":"https://api.github.com/users/patrickbrouwers/repos","events_url":"https://api.github.com/users/patrickbrouwers/events{/privacy}","received_events_url":"https://api.github.com/users/patrickbrouwers/received_events","type":"User","site_admin":false},"created_at":"2015-03-13T16:19:51Z","updated_at":"2015-03-13T16:19:51Z","body":"+ 1 \r\nOur VPS's use DirectAdmin and have public_html set as default. It's not really easy to change it every time. We would rather change a config setting in Elixir, so we can use features like cache busting properly.\r\nI don't see any harm in having a setting for the publicPath (in elixir.json), which is set to `public` by default."}}