{"action":"created","issue":{"url":"https://api.github.com/repos/4chan/4chan-API/issues/25","labels_url":"https://api.github.com/repos/4chan/4chan-API/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/4chan/4chan-API/issues/25/comments","events_url":"https://api.github.com/repos/4chan/4chan-API/issues/25/events","html_url":"https://github.com/4chan/4chan-API/issues/25","id":53969356,"number":25,"title":"Thumbnail urls broken after change","user":{"login":"puromonogatari","id":1734513,"avatar_url":"https://avatars.githubusercontent.com/u/1734513?v=3","gravatar_id":"","url":"https://api.github.com/users/puromonogatari","html_url":"https://github.com/puromonogatari","followers_url":"https://api.github.com/users/puromonogatari/followers","following_url":"https://api.github.com/users/puromonogatari/following{/other_user}","gists_url":"https://api.github.com/users/puromonogatari/gists{/gist_id}","starred_url":"https://api.github.com/users/puromonogatari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puromonogatari/subscriptions","organizations_url":"https://api.github.com/users/puromonogatari/orgs","repos_url":"https://api.github.com/users/puromonogatari/repos","events_url":"https://api.github.com/users/puromonogatari/events{/privacy}","received_events_url":"https://api.github.com/users/puromonogatari/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-01-10T19:56:43Z","updated_at":"2015-01-11T23:56:33Z","closed_at":"2015-01-10T20:08:20Z","body":"If you're using the catalog to display information, you usually have something like:\r\n\r\n\t\tgetThumbnailUrl: function(data) {\r\n\t\t\tif(typeof(data.tim) == 'undefined' || data.filedeleted == 1 || (data.tn_w < 10 && data.tn_h < 10)) {\r\n\t\t\t\treturn 'https://s.4cdn.org/image/filedeleted.gif';\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tif(data.spoiler == 1) {\r\n\t\t\t\tif(typeof(data.custom_spoiler) != 'undefined' && data.custom_spoiler > 0) {\r\n\t\t\t\t\treturn \"https://s.4cdn.org/image/spoiler-\" + Board.current + data.custom_spoiler + \".png\";\r\n\t\t\t\t} else {\r\n\t\t\t\t\treturn \"https://s.4cdn.org/image/spoiler.png\";\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\treturn \"https://t.4cdn.org/\" + Board.current + \"/\" + data.tim + \"s.jpg\";\r\n\t\t},\r\n\r\nThe problem is, the \"t\" subdomain isn't the only valid subdomain for thumbnails anymore.\r\n\r\nNow I'm seeing:\r\nhttp://0.t.4cdn.org/(board)/(time)s.jpg\r\n\"0.t.4cdn.org\" - I'm not sure where this \"0\" comes from.\r\n\r\nThere doesn't seem to be any recent commits to the API documentation which explain this behavior."},"comment":{"url":"https://api.github.com/repos/4chan/4chan-API/issues/comments/69518506","html_url":"https://github.com/4chan/4chan-API/issues/25#issuecomment-69518506","issue_url":"https://api.github.com/repos/4chan/4chan-API/issues/25","id":69518506,"user":{"login":"Floens","id":1012578,"avatar_url":"https://avatars.githubusercontent.com/u/1012578?v=3","gravatar_id":"","url":"https://api.github.com/users/Floens","html_url":"https://github.com/Floens","followers_url":"https://api.github.com/users/Floens/followers","following_url":"https://api.github.com/users/Floens/following{/other_user}","gists_url":"https://api.github.com/users/Floens/gists{/gist_id}","starred_url":"https://api.github.com/users/Floens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Floens/subscriptions","organizations_url":"https://api.github.com/users/Floens/orgs","repos_url":"https://api.github.com/users/Floens/repos","events_url":"https://api.github.com/users/Floens/events{/privacy}","received_events_url":"https://api.github.com/users/Floens/received_events","type":"User","site_admin":false},"created_at":"2015-01-11T23:56:32Z","updated_at":"2015-01-11T23:56:32Z","body":"referer something something"}}