{"action":"created","issue":{"url":"https://api.github.com/repos/dougmoscrop/serverless-http/issues/50","repository_url":"https://api.github.com/repos/dougmoscrop/serverless-http","labels_url":"https://api.github.com/repos/dougmoscrop/serverless-http/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/dougmoscrop/serverless-http/issues/50/comments","events_url":"https://api.github.com/repos/dougmoscrop/serverless-http/issues/50/events","html_url":"https://github.com/dougmoscrop/serverless-http/issues/50","id":324662122,"node_id":"MDU6SXNzdWUzMjQ2NjIxMjI=","number":50,"title":"Image/png is not serving properly by serverless-http","user":{"login":"hanzenlim","id":1422293,"node_id":"MDQ6VXNlcjE0MjIyOTM=","avatar_url":"https://avatars3.githubusercontent.com/u/1422293?v=4","gravatar_id":"","url":"https://api.github.com/users/hanzenlim","html_url":"https://github.com/hanzenlim","followers_url":"https://api.github.com/users/hanzenlim/followers","following_url":"https://api.github.com/users/hanzenlim/following{/other_user}","gists_url":"https://api.github.com/users/hanzenlim/gists{/gist_id}","starred_url":"https://api.github.com/users/hanzenlim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hanzenlim/subscriptions","organizations_url":"https://api.github.com/users/hanzenlim/orgs","repos_url":"https://api.github.com/users/hanzenlim/repos","events_url":"https://api.github.com/users/hanzenlim/events{/privacy}","received_events_url":"https://api.github.com/users/hanzenlim/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-05-19T21:33:51Z","updated_at":"2018-09-09T09:02:41Z","closed_at":"2018-06-15T20:38:51Z","author_association":"NONE","body":"Hi,\r\n\r\nIs serverless-http able to serve jpg/png images? I have some image assets that I deployed with my application but it's not rendering the img/png correctly. The content-type shows image/jpeg and it's serving properly, getting 200 but not displaying correctly. Is this an encoding issue. \r\n\r\nAny help would be greatly appreciated.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/dougmoscrop/serverless-http/issues/comments/419701127","html_url":"https://github.com/dougmoscrop/serverless-http/issues/50#issuecomment-419701127","issue_url":"https://api.github.com/repos/dougmoscrop/serverless-http/issues/50","id":419701127,"node_id":"MDEyOklzc3VlQ29tbWVudDQxOTcwMTEyNw==","user":{"login":"huksley","id":1594349,"node_id":"MDQ6VXNlcjE1OTQzNDk=","avatar_url":"https://avatars0.githubusercontent.com/u/1594349?v=4","gravatar_id":"","url":"https://api.github.com/users/huksley","html_url":"https://github.com/huksley","followers_url":"https://api.github.com/users/huksley/followers","following_url":"https://api.github.com/users/huksley/following{/other_user}","gists_url":"https://api.github.com/users/huksley/gists{/gist_id}","starred_url":"https://api.github.com/users/huksley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huksley/subscriptions","organizations_url":"https://api.github.com/users/huksley/orgs","repos_url":"https://api.github.com/users/huksley/repos","events_url":"https://api.github.com/users/huksley/events{/privacy}","received_events_url":"https://api.github.com/users/huksley/received_events","type":"User","site_admin":false},"created_at":"2018-09-09T09:02:41Z","updated_at":"2018-09-09T09:02:41Z","author_association":"NONE","body":"Hmm, thanks!\r\n\r\nI would like to make a hybrid API Gateway endpoint where all dynamic (and possibly unknown beforehand, if using isomorphic rendering in React) paths are handled by Lambda/Express/servlerless-http\r\n\r\nand all static resources are automatically uploaded to S3\r\nand API Gateway proxies forwards requests for them to S3\r\n\r\nor you recommend to just use CDN uris in HTML generated and never hit API GW with static resources???"}}
{"actor":{"display_login":"huksley"}}