{"action":"created","issue":{"url":"https://api.github.com/repos/mgechev/angular2-seed/issues/1134","repository_url":"https://api.github.com/repos/mgechev/angular2-seed","labels_url":"https://api.github.com/repos/mgechev/angular2-seed/issues/1134/labels{/name}","comments_url":"https://api.github.com/repos/mgechev/angular2-seed/issues/1134/comments","events_url":"https://api.github.com/repos/mgechev/angular2-seed/issues/1134/events","html_url":"https://github.com/mgechev/angular2-seed/issues/1134","id":166081799,"number":1134,"title":"app base not working","user":{"login":"zwolej","id":9136459,"avatar_url":"https://avatars.githubusercontent.com/u/9136459?v=3","gravatar_id":"","url":"https://api.github.com/users/zwolej","html_url":"https://github.com/zwolej","followers_url":"https://api.github.com/users/zwolej/followers","following_url":"https://api.github.com/users/zwolej/following{/other_user}","gists_url":"https://api.github.com/users/zwolej/gists{/gist_id}","starred_url":"https://api.github.com/users/zwolej/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zwolej/subscriptions","organizations_url":"https://api.github.com/users/zwolej/orgs","repos_url":"https://api.github.com/users/zwolej/repos","events_url":"https://api.github.com/users/zwolej/events{/privacy}","received_events_url":"https://api.github.com/users/zwolej/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-07-18T12:25:49Z","updated_at":"2016-07-25T11:52:47Z","closed_at":"2016-07-19T21:53:17Z","body":"Hello,\r\nI am on fresh seed version and when I am setting some custom APP_BASE\r\n\r\n`  APP_BASE = argv['base'] || (this.ENV === ENVIRONMENTS.DEVELOPMENT ? '/api/' : '/api/');`\r\n\r\nApplication seems to not work properly. There are problem with finding example json file from assets folder."},"comment":{"url":"https://api.github.com/repos/mgechev/angular2-seed/issues/comments/234932778","html_url":"https://github.com/mgechev/angular2-seed/issues/1134#issuecomment-234932778","issue_url":"https://api.github.com/repos/mgechev/angular2-seed/issues/1134","id":234932778,"user":{"login":"Sjiep","id":5003111,"avatar_url":"https://avatars.githubusercontent.com/u/5003111?v=3","gravatar_id":"","url":"https://api.github.com/users/Sjiep","html_url":"https://github.com/Sjiep","followers_url":"https://api.github.com/users/Sjiep/followers","following_url":"https://api.github.com/users/Sjiep/following{/other_user}","gists_url":"https://api.github.com/users/Sjiep/gists{/gist_id}","starred_url":"https://api.github.com/users/Sjiep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sjiep/subscriptions","organizations_url":"https://api.github.com/users/Sjiep/orgs","repos_url":"https://api.github.com/users/Sjiep/repos","events_url":"https://api.github.com/users/Sjiep/events{/privacy}","received_events_url":"https://api.github.com/users/Sjiep/received_events","type":"User","site_admin":false},"created_at":"2016-07-25T11:52:47Z","updated_at":"2016-07-25T11:52:47Z","body":"I just recently merged the latest changes from the seed into our project. The fact that the `base` tag wasn't set to `/` anymore actually 'broke' our `build.prod`. Files like `app.js` and `shims.js` where requested from the wrong location once routes did not get loaded from the `base` anymore (so `www.site.com` would work fine, but with `www.site.com/subsite` the `app.js` file would be loaded from `subsite/app.js`).\r\n\r\nLooking at the [Angular 2 Route docs](https://angular.io/docs/ts/latest/guide/router.html#!#base-href), I would say the default value should not be empty, but at least a `/`.\r\n\r\nI'm not sure what the most common scenario, but in our case, we have to change the default empty value."}}
{"actor":{"display_login":"Sjiep"}}