{"action":"opened","issue":{"url":"https://api.github.com/repos/kemalcr/kemal-session/issues/42","repository_url":"https://api.github.com/repos/kemalcr/kemal-session","labels_url":"https://api.github.com/repos/kemalcr/kemal-session/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/kemalcr/kemal-session/issues/42/comments","events_url":"https://api.github.com/repos/kemalcr/kemal-session/issues/42/events","html_url":"https://github.com/kemalcr/kemal-session/issues/42","id":219731151,"number":42,"title":"Domain config option","user":{"login":"jwoertink","id":2391,"avatar_url":"https://avatars2.githubusercontent.com/u/2391?v=3","gravatar_id":"","url":"https://api.github.com/users/jwoertink","html_url":"https://github.com/jwoertink","followers_url":"https://api.github.com/users/jwoertink/followers","following_url":"https://api.github.com/users/jwoertink/following{/other_user}","gists_url":"https://api.github.com/users/jwoertink/gists{/gist_id}","starred_url":"https://api.github.com/users/jwoertink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwoertink/subscriptions","organizations_url":"https://api.github.com/users/jwoertink/orgs","repos_url":"https://api.github.com/users/jwoertink/repos","events_url":"https://api.github.com/users/jwoertink/events{/privacy}","received_events_url":"https://api.github.com/users/jwoertink/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-04-05T22:13:57Z","updated_at":"2017-04-05T22:13:57Z","closed_at":null,"body":"For the session cookie, is there a way to specify which domain it belongs to? If not, then I think it could be a good addition.\r\n\r\n```crystal\r\nSession.config do |c|\r\n  c.domain = ENV[\"KEMAL_ENV\"] == \"development\" ? \".lvh.me\" : \".mycooldomain.com\"\r\nend\r\n```"}}
{"actor":{"display_login":"jwoertink"}}