{"action":"closed","issue":{"url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/4818","repository_url":"https://api.github.com/repos/RocketChat/Rocket.Chat","labels_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/4818/labels{/name}","comments_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/4818/comments","events_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/4818/events","html_url":"https://github.com/RocketChat/Rocket.Chat/issues/4818","id":186646692,"number":4818,"title":"theme.css route returns HTML during first few seconds of server startup","user":{"login":"kentonv","id":4001805,"avatar_url":"https://avatars.githubusercontent.com/u/4001805?v=3","gravatar_id":"","url":"https://api.github.com/users/kentonv","html_url":"https://github.com/kentonv","followers_url":"https://api.github.com/users/kentonv/followers","following_url":"https://api.github.com/users/kentonv/following{/other_user}","gists_url":"https://api.github.com/users/kentonv/gists{/gist_id}","starred_url":"https://api.github.com/users/kentonv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kentonv/subscriptions","organizations_url":"https://api.github.com/users/kentonv/orgs","repos_url":"https://api.github.com/users/kentonv/repos","events_url":"https://api.github.com/users/kentonv/events{/privacy}","received_events_url":"https://api.github.com/users/kentonv/received_events","type":"User","site_admin":false},"labels":[{"id":282194563,"url":"https://api.github.com/repos/RocketChat/Rocket.Chat/labels/deploy:%20sandstorm","name":"deploy: sandstorm","color":"eb6420","default":false},{"id":253860229,"url":"https://api.github.com/repos/RocketChat/Rocket.Chat/labels/subj:%20ui/ux","name":"subj: ui/ux","color":"5319e7","default":false},{"id":213300653,"url":"https://api.github.com/repos/RocketChat/Rocket.Chat/labels/type:%20bug","name":"type: bug","color":"fc2929","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-01T21:03:52Z","updated_at":"2016-11-21T19:31:54Z","closed_at":"2016-11-21T19:31:54Z","body":"Your Rocket.Chat version: 0.45.0 (sandstorm)\r\n\r\nEarly in the server's startup process, the `theme.css` route does not appear to be registered yet, and instead returns the standard Meteor initial HTML content that any other route returns.\r\n\r\nOn Sandstorm, this is very visible: When creating a new grain or opening a grain that wasn't running (thus forcing it to start up), the user is presented with mostly-unstyled content (see screenshot). Upon refresh, the problem goes away, since `theme.css` now responds with a proper stylesheet.\r\n\r\nI believe this problem has been around for a while, but it appears to have gotten worse in 0.45.0: It now consistently happens every time, whereas in the past the problem only happened occasionally.\r\n\r\n![screenshot from 2016-11-01 14-01-16](https://cloud.githubusercontent.com/assets/4001805/19907412/f6760722-a03b-11e6-9238-c295064e1d94.png)\r\n"}}
{"actor":{"display_login":"engelgabriel"}}