{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/StaticFiles/issues/221","repository_url":"https://api.github.com/repos/aspnet/StaticFiles","labels_url":"https://api.github.com/repos/aspnet/StaticFiles/issues/221/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/StaticFiles/issues/221/comments","events_url":"https://api.github.com/repos/aspnet/StaticFiles/issues/221/events","html_url":"https://github.com/aspnet/StaticFiles/pull/221","id":269540131,"number":221,"title":"Add application/manifest+json ( .webmanifest)","user":{"login":"RehanSaeed","id":2270364,"avatar_url":"https://avatars2.githubusercontent.com/u/2270364?v=4","gravatar_id":"","url":"https://api.github.com/users/RehanSaeed","html_url":"https://github.com/RehanSaeed","followers_url":"https://api.github.com/users/RehanSaeed/followers","following_url":"https://api.github.com/users/RehanSaeed/following{/other_user}","gists_url":"https://api.github.com/users/RehanSaeed/gists{/gist_id}","starred_url":"https://api.github.com/users/RehanSaeed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RehanSaeed/subscriptions","organizations_url":"https://api.github.com/users/RehanSaeed/orgs","repos_url":"https://api.github.com/users/RehanSaeed/repos","events_url":"https://api.github.com/users/RehanSaeed/events{/privacy}","received_events_url":"https://api.github.com/users/RehanSaeed/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-10-30T09:58:49Z","updated_at":"2018-02-16T17:08:38Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/aspnet/StaticFiles/pulls/221","html_url":"https://github.com/aspnet/StaticFiles/pull/221","diff_url":"https://github.com/aspnet/StaticFiles/pull/221.diff","patch_url":"https://github.com/aspnet/StaticFiles/pull/221.patch"},"body":"Added support fot the `.webmanifest` file extension which returns `application/manifest+json`.\r\n\r\nSee [sonarwhal documentation](https://sonarwhal.com/docs/user-guide/rules/manifest-file-extension/) and [W3C](https://w3c.github.io/manifest/#media-type-registration) for reference."},"comment":{"url":"https://api.github.com/repos/aspnet/StaticFiles/issues/comments/366297099","html_url":"https://github.com/aspnet/StaticFiles/pull/221#issuecomment-366297099","issue_url":"https://api.github.com/repos/aspnet/StaticFiles/issues/221","id":366297099,"user":{"login":"rickyruiz","id":12017329,"avatar_url":"https://avatars3.githubusercontent.com/u/12017329?v=4","gravatar_id":"","url":"https://api.github.com/users/rickyruiz","html_url":"https://github.com/rickyruiz","followers_url":"https://api.github.com/users/rickyruiz/followers","following_url":"https://api.github.com/users/rickyruiz/following{/other_user}","gists_url":"https://api.github.com/users/rickyruiz/gists{/gist_id}","starred_url":"https://api.github.com/users/rickyruiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rickyruiz/subscriptions","organizations_url":"https://api.github.com/users/rickyruiz/orgs","repos_url":"https://api.github.com/users/rickyruiz/repos","events_url":"https://api.github.com/users/rickyruiz/events{/privacy}","received_events_url":"https://api.github.com/users/rickyruiz/received_events","type":"User","site_admin":false},"created_at":"2018-02-16T17:08:38Z","updated_at":"2018-02-16T17:08:38Z","author_association":"NONE","body":"Any news on when is this PR going live? \r\n\r\n___\r\n\r\nIf anyone is stuck with this, you can create a custom content type provider like so:\r\n\r\n```\r\n  public class PwaContentTypeProvider : FileExtensionContentTypeProvider\r\n  {\r\n    public PwaContentTypeProvider()\r\n    {\r\n      Mappings.Add(\".webmanifest\", \"application/manifest+json\");\r\n    }\r\n  }\r\n```\r\n\r\nIn Startup.cs:\r\n\r\n``` \r\napp.UseStaticFiles(new StaticFileOptions()\r\n{\r\n  ContentTypeProvider = new PwaContentTypeProvider()\r\n});\r\n```"}}
{"actor":{"display_login":"rickyruiz"}}