{"action":"created","issue":{"url":"https://api.github.com/repos/openzipkin/zipkin/issues/1039","repository_url":"https://api.github.com/repos/openzipkin/zipkin","labels_url":"https://api.github.com/repos/openzipkin/zipkin/issues/1039/labels{/name}","comments_url":"https://api.github.com/repos/openzipkin/zipkin/issues/1039/comments","events_url":"https://api.github.com/repos/openzipkin/zipkin/issues/1039/events","html_url":"https://github.com/openzipkin/zipkin/pull/1039","id":141212278,"number":1039,"title":"zipkin-web: Serve from /static/ following #1035","user":{"login":"abesto","id":59982,"avatar_url":"https://avatars.githubusercontent.com/u/59982?v=3","gravatar_id":"","url":"https://api.github.com/users/abesto","html_url":"https://github.com/abesto","followers_url":"https://api.github.com/users/abesto/followers","following_url":"https://api.github.com/users/abesto/following{/other_user}","gists_url":"https://api.github.com/users/abesto/gists{/gist_id}","starred_url":"https://api.github.com/users/abesto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abesto/subscriptions","organizations_url":"https://api.github.com/users/abesto/orgs","repos_url":"https://api.github.com/users/abesto/repos","events_url":"https://api.github.com/users/abesto/events{/privacy}","received_events_url":"https://api.github.com/users/abesto/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-16T09:07:14Z","updated_at":"2016-03-16T09:16:39Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/openzipkin/zipkin/pulls/1039","html_url":"https://github.com/openzipkin/zipkin/pull/1039","diff_url":"https://github.com/openzipkin/zipkin/pull/1039.diff","patch_url":"https://github.com/openzipkin/zipkin/pull/1039.patch"},"body":"This change also revamps the way resources are resolved.\r\n\r\nThe old logic was \"find the static resource, and if you can't, then serve index.html\".\r\n\r\nThe new logic is \"if the request is a file (through heuristic 'it has an extension'), serve it. otherwise serve index.html\"\r\n\r\nThis makes the intention cleaner, and gives us 404 where a 404 is needed instead of the contents of index.html"},"comment":{"url":"https://api.github.com/repos/openzipkin/zipkin/issues/comments/197222679","html_url":"https://github.com/openzipkin/zipkin/pull/1039#issuecomment-197222679","issue_url":"https://api.github.com/repos/openzipkin/zipkin/issues/1039","id":197222679,"user":{"login":"abesto","id":59982,"avatar_url":"https://avatars.githubusercontent.com/u/59982?v=3","gravatar_id":"","url":"https://api.github.com/users/abesto","html_url":"https://github.com/abesto","followers_url":"https://api.github.com/users/abesto/followers","following_url":"https://api.github.com/users/abesto/following{/other_user}","gists_url":"https://api.github.com/users/abesto/gists{/gist_id}","starred_url":"https://api.github.com/users/abesto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abesto/subscriptions","organizations_url":"https://api.github.com/users/abesto/orgs","repos_url":"https://api.github.com/users/abesto/repos","events_url":"https://api.github.com/users/abesto/events{/privacy}","received_events_url":"https://api.github.com/users/abesto/received_events","type":"User","site_admin":false},"created_at":"2016-03-16T09:16:39Z","updated_at":"2016-03-16T09:16:39Z","body":"Side-note: I kind of feel like changing `index.html` to refer to `/static/*.js` instead of `/*.js`. That would make the handlers considerably simpler, and just feels nice. How would that play together with Spring etc.?"}}