{"action":"created","issue":{"url":"https://api.github.com/repos/nabinked/NToastNotify/issues/49","repository_url":"https://api.github.com/repos/nabinked/NToastNotify","labels_url":"https://api.github.com/repos/nabinked/NToastNotify/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/nabinked/NToastNotify/issues/49/comments","events_url":"https://api.github.com/repos/nabinked/NToastNotify/issues/49/events","html_url":"https://github.com/nabinked/NToastNotify/issues/49","id":364644768,"node_id":"MDU6SXNzdWUzNjQ2NDQ3Njg=","number":49,"title":"Application Insight CORS","user":{"login":"bbakermmc","id":30090055,"node_id":"MDQ6VXNlcjMwMDkwMDU1","avatar_url":"https://avatars0.githubusercontent.com/u/30090055?v=4","gravatar_id":"","url":"https://api.github.com/users/bbakermmc","html_url":"https://github.com/bbakermmc","followers_url":"https://api.github.com/users/bbakermmc/followers","following_url":"https://api.github.com/users/bbakermmc/following{/other_user}","gists_url":"https://api.github.com/users/bbakermmc/gists{/gist_id}","starred_url":"https://api.github.com/users/bbakermmc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbakermmc/subscriptions","organizations_url":"https://api.github.com/users/bbakermmc/orgs","repos_url":"https://api.github.com/users/bbakermmc/repos","events_url":"https://api.github.com/users/bbakermmc/events{/privacy}","received_events_url":"https://api.github.com/users/bbakermmc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2018-09-27T20:40:18Z","updated_at":"2019-02-01T08:35:38Z","closed_at":null,"author_association":"NONE","body":"When you use Application Insight it throws a cors error:\r\n\r\nCross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://dc.services.visualstudio.com/v2/track. (Reason: missing token ‘x-ntoastnotify-request-type’ in CORS header ‘Access-Control-Allow-Headers’ from CORS preflight channel)\r\n\r\n\r\nWeb Config:\r\n```\r\n <httpProtocol>\r\n      <customHeaders>\r\n        <remove name=\"X-Powered-By\" />\r\n\r\n        <add name=\"Access-Control-Allow-Origin\" value=\"*\"/>\r\n        <add name=\"Access-Control-Allow-Methods\" value=\"GET,PUT,POST,DELETE,OPTIONS\"/>\r\n        <add name=\"Access-Control-Allow-Headers\" value=\"Content-Type,x-ntoastnotify-request-type\"/>\r\n      </customHeaders>\r\n    </httpProtocol>\r\n```"},"comment":{"url":"https://api.github.com/repos/nabinked/NToastNotify/issues/comments/459646626","html_url":"https://github.com/nabinked/NToastNotify/issues/49#issuecomment-459646626","issue_url":"https://api.github.com/repos/nabinked/NToastNotify/issues/49","id":459646626,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1OTY0NjYyNg==","user":{"login":"nabinked","id":7703179,"node_id":"MDQ6VXNlcjc3MDMxNzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7703179?v=4","gravatar_id":"","url":"https://api.github.com/users/nabinked","html_url":"https://github.com/nabinked","followers_url":"https://api.github.com/users/nabinked/followers","following_url":"https://api.github.com/users/nabinked/following{/other_user}","gists_url":"https://api.github.com/users/nabinked/gists{/gist_id}","starred_url":"https://api.github.com/users/nabinked/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nabinked/subscriptions","organizations_url":"https://api.github.com/users/nabinked/orgs","repos_url":"https://api.github.com/users/nabinked/repos","events_url":"https://api.github.com/users/nabinked/events{/privacy}","received_events_url":"https://api.github.com/users/nabinked/received_events","type":"User","site_admin":false},"created_at":"2019-02-01T08:35:38Z","updated_at":"2019-02-01T08:35:38Z","author_association":"OWNER","body":"> How can I go about running and debugging your TS locally when I clone your repo?\r\n\r\nYou can go `npm run start` on the src folder that should build and transpile ts -> js"}}
{"actor":{"display_login":"nabinked"}}