{"action":"created","issue":{"url":"https://api.github.com/repos/damiencaselli/ember-cli-sentry/issues/2","labels_url":"https://api.github.com/repos/damiencaselli/ember-cli-sentry/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/damiencaselli/ember-cli-sentry/issues/2/comments","events_url":"https://api.github.com/repos/damiencaselli/ember-cli-sentry/issues/2/events","html_url":"https://github.com/damiencaselli/ember-cli-sentry/pull/2","id":58583363,"number":2,"title":"Configure CDN by config to allow NonHTTP app-usage","user":{"login":"hussfelt","id":168864,"avatar_url":"https://avatars.githubusercontent.com/u/168864?v=3","gravatar_id":"","url":"https://api.github.com/users/hussfelt","html_url":"https://github.com/hussfelt","followers_url":"https://api.github.com/users/hussfelt/followers","following_url":"https://api.github.com/users/hussfelt/following{/other_user}","gists_url":"https://api.github.com/users/hussfelt/gists{/gist_id}","starred_url":"https://api.github.com/users/hussfelt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hussfelt/subscriptions","organizations_url":"https://api.github.com/users/hussfelt/orgs","repos_url":"https://api.github.com/users/hussfelt/repos","events_url":"https://api.github.com/users/hussfelt/events{/privacy}","received_events_url":"https://api.github.com/users/hussfelt/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/damiencaselli/ember-cli-sentry/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-23T13:09:47Z","updated_at":"2015-02-25T11:01:45Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/damiencaselli/ember-cli-sentry/pulls/2","html_url":"https://github.com/damiencaselli/ember-cli-sentry/pull/2","diff_url":"https://github.com/damiencaselli/ember-cli-sentry/pull/2.diff","patch_url":"https://github.com/damiencaselli/ember-cli-sentry/pull/2.patch"},"body":"We're having issues with this in our app-deploy, as it's using the file: protocol and not http/https.\r\nUsing the below we are able to define the CDN to pick from, without the prefixed // leading to the file: protocol!"},"comment":{"url":"https://api.github.com/repos/damiencaselli/ember-cli-sentry/issues/comments/75941971","html_url":"https://github.com/damiencaselli/ember-cli-sentry/pull/2#issuecomment-75941971","issue_url":"https://api.github.com/repos/damiencaselli/ember-cli-sentry/issues/2","id":75941971,"user":{"login":"damiencaselli","id":37416,"avatar_url":"https://avatars.githubusercontent.com/u/37416?v=3","gravatar_id":"","url":"https://api.github.com/users/damiencaselli","html_url":"https://github.com/damiencaselli","followers_url":"https://api.github.com/users/damiencaselli/followers","following_url":"https://api.github.com/users/damiencaselli/following{/other_user}","gists_url":"https://api.github.com/users/damiencaselli/gists{/gist_id}","starred_url":"https://api.github.com/users/damiencaselli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damiencaselli/subscriptions","organizations_url":"https://api.github.com/users/damiencaselli/orgs","repos_url":"https://api.github.com/users/damiencaselli/repos","events_url":"https://api.github.com/users/damiencaselli/events{/privacy}","received_events_url":"https://api.github.com/users/damiencaselli/received_events","type":"User","site_admin":false},"created_at":"2015-02-25T11:01:45Z","updated_at":"2015-02-25T11:01:45Z","body":"With #4 one can now get the exact same result that you want to achieve in this PR right?\r\n\r\nFor instance, wouldn't this\r\n\r\n```javascript\r\n// ENV.sentry\r\n{\r\n  skipCdn: true,\r\n  cdn: 'file:///path/to/raven/'\r\n}\r\n```\r\n\r\ngive this result?\r\n\r\n```javascript\r\n// ember-cli-sentry/index.js\r\n\r\nreturn <script src=\"file:///path/to/raven/' + config.sentry.version + '/jquery,native/raven.min.js\"></script>\r\n```\r\n\r\nIf that is not what you meant I'm sorry, I think I'm missing something here.\r\n\r\nWe could also rework config options to allow specifying a whole custom path to ravenjs, since someone might want to name is differently.\r\n\r\nHaving this option would solve problems related to packaged apps?\r\n\r\nThis would result in something like this:\r\n\r\n```javascript\r\nif (type === 'body' && config.sentry.src) {\r\n  return '<script src=\"' + config.sentry.src + '\"></script>';\r\n}\r\n```\r\n"}}