{"action":"opened","issue":{"url":"https://api.github.com/repos/vmunier/play-scalajs-scripts/issues/10","repository_url":"https://api.github.com/repos/vmunier/play-scalajs-scripts","labels_url":"https://api.github.com/repos/vmunier/play-scalajs-scripts/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/vmunier/play-scalajs-scripts/issues/10/comments","events_url":"https://api.github.com/repos/vmunier/play-scalajs-scripts/issues/10/events","html_url":"https://github.com/vmunier/play-scalajs-scripts/issues/10","id":170682080,"number":10,"title":"Update docs to indicate how to use non-root context path.","user":{"login":"metasim","id":131013,"avatar_url":"https://avatars.githubusercontent.com/u/131013?v=3","gravatar_id":"","url":"https://api.github.com/users/metasim","html_url":"https://github.com/metasim","followers_url":"https://api.github.com/users/metasim/followers","following_url":"https://api.github.com/users/metasim/following{/other_user}","gists_url":"https://api.github.com/users/metasim/gists{/gist_id}","starred_url":"https://api.github.com/users/metasim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metasim/subscriptions","organizations_url":"https://api.github.com/users/metasim/orgs","repos_url":"https://api.github.com/users/metasim/repos","events_url":"https://api.github.com/users/metasim/events{/privacy}","received_events_url":"https://api.github.com/users/metasim/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-11T15:59:59Z","updated_at":"2016-08-11T15:59:59Z","closed_at":null,"body":"The `play.http.context` value is set to something other than `/`, and when `@playscalajs.html.scripts` is expanded with the default assets mapper (which uses an absolute URI), you get 404s when loading the scripts.\r\n\r\nI figured out that providing `fileName => routes.Assets.versioned(fileName).toString` as the second parameter fixes the problem, but it took quite a while to figure that out."}}
{"actor":{"display_login":"metasim"}}