{"action":"created","comment":{"url":"https://api.github.com/repos/mozilla/chronicle/pulls/comments/22633417","id":22633417,"diff_hunk":"@@ -112,12 +112,29 @@ module.exports = [{\n     }\n   }\n }, {\n-  // static routes using dist/, yay grunt\n   method: 'GET',\n-  path: '/assets/{param*}',\n+  path: '/images/{param*}',\n   handler: {\n     directory: {\n-      path: path.join(__dirname, '..', config.get('server.staticPath')),\n+      path: path.join(__dirname, '..', config.get('server.staticPath'), 'images'),\n+      listing: config.get('server.staticDirListing')\n+    }\n+  }\n+}, {\n+  method: 'GET',\n+  path: '/scripts/{param*}',\n+  handler: {\n+    directory: {\n+      path: path.join(__dirname, '..', config.get('server.staticPath'), 'scripts'),\n+      listing: config.get('server.staticDirListing')\n+    }\n+  }\n+}, {\n+  method: 'GET',\n+  path: '/styles/{param*}',\n+  handler: {\n+    directory: {\n+      path: path.join(__dirname, '..', config.get('server.staticPath'), 'styles'),","path":"server/routes.js","position":29,"original_position":29,"commit_id":"4685ba5166c4c79c3c06b0cb14cb6d52ac4464c7","original_commit_id":"4685ba5166c4c79c3c06b0cb14cb6d52ac4464c7","user":{"login":"pdehaan","id":557895,"avatar_url":"https://avatars.githubusercontent.com/u/557895?v=3","gravatar_id":"","url":"https://api.github.com/users/pdehaan","html_url":"https://github.com/pdehaan","followers_url":"https://api.github.com/users/pdehaan/followers","following_url":"https://api.github.com/users/pdehaan/following{/other_user}","gists_url":"https://api.github.com/users/pdehaan/gists{/gist_id}","starred_url":"https://api.github.com/users/pdehaan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pdehaan/subscriptions","organizations_url":"https://api.github.com/users/pdehaan/orgs","repos_url":"https://api.github.com/users/pdehaan/repos","events_url":"https://api.github.com/users/pdehaan/events{/privacy}","received_events_url":"https://api.github.com/users/pdehaan/received_events","type":"User","site_admin":false},"body":"OK, I'll play around a bit more with this. I think I tried something similar when we were building the loads front end w/ Hapi+Angular and we saw some issues w/ 404 routing and a generic `/{param*}` route. But my memory is a bit hazy on the details &mdash; so I'll try and build a smaller test case and verify.","created_at":"2015-01-08T03:09:48Z","updated_at":"2015-01-08T03:09:48Z","html_url":"https://github.com/mozilla/chronicle/pull/80#discussion_r22633417","pull_request_url":"https://api.github.com/repos/mozilla/chronicle/pulls/80","_links":{"self":{"href":"https://api.github.com/repos/mozilla/chronicle/pulls/comments/22633417"},"html":{"href":"https://github.com/mozilla/chronicle/pull/80#discussion_r22633417"},"pull_request":{"href":"https://api.github.com/repos/mozilla/chronicle/pulls/80"}}},"pull_request":{"url":"https://api.github.com/repos/mozilla/chronicle/pulls/80","id":27001425,"html_url":"https://github.com/mozilla/chronicle/pull/80","diff_url":"https://github.com/mozilla/chronicle/pull/80.diff","patch_url":"https://github.com/mozilla/chronicle/pull/80.patch","issue_url":"https://api.github.com/repos/mozilla/chronicle/issues/80","number":80,"state":"open","locked":false,"title":"chore(build): Adding grunt-rev and grunt-usemin tasks for asset versioning","user":{"login":"pdehaan","id":557895,"avatar_url":"https://avatars.githubusercontent.com/u/557895?v=3","gravatar_id":"","url":"https://api.github.com/users/pdehaan","html_url":"https://github.com/pdehaan","followers_url":"https://api.github.com/users/pdehaan/followers","following_url":"https://api.github.com/users/pdehaan/following{/other_user}","gists_url":"https://api.github.com/users/pdehaan/gists{/gist_id}","starred_url":"https://api.github.com/users/pdehaan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pdehaan/subscriptions","organizations_url":"https://api.github.com/users/pdehaan/orgs","repos_url":"https://api.github.com/users/pdehaan/repos","events_url":"https://api.github.com/users/pdehaan/events{/privacy}","received_events_url":"https://api.github.com/users/pdehaan/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-01-08T01:21:54Z","updated_at":"2015-01-08T03:09:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5081eab2c5a57baeb37dd30bb6412d3d1cae34e0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mozilla/chronicle/pulls/80/commits","review_comments_url":"https://api.github.com/repos/mozilla/chronicle/pulls/80/comments","review_comment_url":"https://api.github.com/repos/mozilla/chronicle/pulls/comments/{number}","comments_url":"https://api.github.com/repos/mozilla/chronicle/issues/80/comments","statuses_url":"https://api.github.com/repos/mozilla/chronicle/statuses/4685ba5166c4c79c3c06b0cb14cb6d52ac4464c7","head":{"label":"pdehaan:usemin-rev","ref":"usemin-rev","sha":"4685ba5166c4c79c3c06b0cb14cb6d52ac4464c7","user":{"login":"pdehaan","id":557895,"avatar_url":"https://avatars.githubusercontent.com/u/557895?v=3","gravatar_id":"","url":"https://api.github.com/users/pdehaan","html_url":"https://github.com/pdehaan","followers_url":"https://api.github.com/users/pdehaan/followers","following_url":"https://api.github.com/users/pdehaan/following{/other_user}","gists_url":"https://api.github.com/users/pdehaan/gists{/gist_id}","starred_url":"https://api.github.com/users/pdehaan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pdehaan/subscriptions","organizations_url":"https://api.github.com/users/pdehaan/orgs","repos_url":"https://api.github.com/users/pdehaan/repos","events_url":"https://api.github.com/users/pdehaan/events{/privacy}","received_events_url":"https://api.github.com/users/pdehaan/received_events","type":"User","site_admin":false},"repo":{"id":27936821,"name":"chronicle-1","full_name":"pdehaan/chronicle-1","owner":{"login":"pdehaan","id":557895,"avatar_url":"https://avatars.githubusercontent.com/u/557895?v=3","gravatar_id":"","url":"https://api.github.com/users/pdehaan","html_url":"https://github.com/pdehaan","followers_url":"https://api.github.com/users/pdehaan/followers","following_url":"https://api.github.com/users/pdehaan/following{/other_user}","gists_url":"https://api.github.com/users/pdehaan/gists{/gist_id}","starred_url":"https://api.github.com/users/pdehaan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pdehaan/subscriptions","organizations_url":"https://api.github.com/users/pdehaan/orgs","repos_url":"https://api.github.com/users/pdehaan/repos","events_url":"https://api.github.com/users/pdehaan/events{/privacy}","received_events_url":"https://api.github.com/users/pdehaan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pdehaan/chronicle-1","description":"find everything you've ever found","fork":true,"url":"https://api.github.com/repos/pdehaan/chronicle-1","forks_url":"https://api.github.com/repos/pdehaan/chronicle-1/forks","keys_url":"https://api.github.com/repos/pdehaan/chronicle-1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pdehaan/chronicle-1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pdehaan/chronicle-1/teams","hooks_url":"https://api.github.com/repos/pdehaan/chronicle-1/hooks","issue_events_url":"https://api.github.com/repos/pdehaan/chronicle-1/issues/events{/number}","events_url":"https://api.github.com/repos/pdehaan/chronicle-1/events","assignees_url":"https://api.github.com/repos/pdehaan/chronicle-1/assignees{/user}","branches_url":"https://api.github.com/repos/pdehaan/chronicle-1/branches{/branch}","tags_url":"https://api.github.com/repos/pdehaan/chronicle-1/tags","blobs_url":"https://api.github.com/repos/pdehaan/chronicle-1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pdehaan/chronicle-1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pdehaan/chronicle-1/git/refs{/sha}","trees_url":"https://api.github.com/repos/pdehaan/chronicle-1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pdehaan/chronicle-1/statuses/{sha}","languages_url":"https://api.github.com/repos/pdehaan/chronicle-1/languages","stargazers_url":"https://api.github.com/repos/pdehaan/chronicle-1/stargazers","contributors_url":"https://api.github.com/repos/pdehaan/chronicle-1/contributors","subscribers_url":"https://api.github.com/repos/pdehaan/chronicle-1/subscribers","subscription_url":"https://api.github.com/repos/pdehaan/chronicle-1/subscription","commits_url":"https://api.github.com/repos/pdehaan/chronicle-1/commits{/sha}","git_commits_url":"https://api.github.com/repos/pdehaan/chronicle-1/git/commits{/sha}","comments_url":"https://api.github.com/repos/pdehaan/chronicle-1/comments{/number}","issue_comment_url":"https://api.github.com/repos/pdehaan/chronicle-1/issues/comments/{number}","contents_url":"https://api.github.com/repos/pdehaan/chronicle-1/contents/{+path}","compare_url":"https://api.github.com/repos/pdehaan/chronicle-1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pdehaan/chronicle-1/merges","archive_url":"https://api.github.com/repos/pdehaan/chronicle-1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pdehaan/chronicle-1/downloads","issues_url":"https://api.github.com/repos/pdehaan/chronicle-1/issues{/number}","pulls_url":"https://api.github.com/repos/pdehaan/chronicle-1/pulls{/number}","milestones_url":"https://api.github.com/repos/pdehaan/chronicle-1/milestones{/number}","notifications_url":"https://api.github.com/repos/pdehaan/chronicle-1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pdehaan/chronicle-1/labels{/name}","releases_url":"https://api.github.com/repos/pdehaan/chronicle-1/releases{/id}","created_at":"2014-12-12T20:27:47Z","updated_at":"2014-12-05T22:47:55Z","pushed_at":"2015-01-08T01:20:25Z","git_url":"git://github.com/pdehaan/chronicle-1.git","ssh_url":"git@github.com:pdehaan/chronicle-1.git","clone_url":"https://github.com/pdehaan/chronicle-1.git","svn_url":"https://github.com/pdehaan/chronicle-1","homepage":"http://mozillachronicle.tumblr.com/","size":644,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mozilla:master","ref":"master","sha":"9e7bd617877a9859937772149545e4c61dc6d9dc","user":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"repo":{"id":27606769,"name":"chronicle","full_name":"mozilla/chronicle","owner":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla/chronicle","description":"find everything you've ever found","fork":false,"url":"https://api.github.com/repos/mozilla/chronicle","forks_url":"https://api.github.com/repos/mozilla/chronicle/forks","keys_url":"https://api.github.com/repos/mozilla/chronicle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/chronicle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/chronicle/teams","hooks_url":"https://api.github.com/repos/mozilla/chronicle/hooks","issue_events_url":"https://api.github.com/repos/mozilla/chronicle/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/chronicle/events","assignees_url":"https://api.github.com/repos/mozilla/chronicle/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/chronicle/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/chronicle/tags","blobs_url":"https://api.github.com/repos/mozilla/chronicle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/chronicle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/chronicle/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/chronicle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/chronicle/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/chronicle/languages","stargazers_url":"https://api.github.com/repos/mozilla/chronicle/stargazers","contributors_url":"https://api.github.com/repos/mozilla/chronicle/contributors","subscribers_url":"https://api.github.com/repos/mozilla/chronicle/subscribers","subscription_url":"https://api.github.com/repos/mozilla/chronicle/subscription","commits_url":"https://api.github.com/repos/mozilla/chronicle/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/chronicle/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/chronicle/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/chronicle/issues/comments/{number}","contents_url":"https://api.github.com/repos/mozilla/chronicle/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/chronicle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/chronicle/merges","archive_url":"https://api.github.com/repos/mozilla/chronicle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/chronicle/downloads","issues_url":"https://api.github.com/repos/mozilla/chronicle/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/chronicle/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/chronicle/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/chronicle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/chronicle/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/chronicle/releases{/id}","created_at":"2014-12-05T19:31:19Z","updated_at":"2015-01-08T01:51:00Z","pushed_at":"2015-01-08T01:51:00Z","git_url":"git://github.com/mozilla/chronicle.git","ssh_url":"git@github.com:mozilla/chronicle.git","clone_url":"https://github.com/mozilla/chronicle.git","svn_url":"https://github.com/mozilla/chronicle","homepage":"http://mozillachronicle.tumblr.com/","size":1172,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":21,"forks":3,"open_issues":21,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla/chronicle/pulls/80"},"html":{"href":"https://github.com/mozilla/chronicle/pull/80"},"issue":{"href":"https://api.github.com/repos/mozilla/chronicle/issues/80"},"comments":{"href":"https://api.github.com/repos/mozilla/chronicle/issues/80/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla/chronicle/pulls/80/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla/chronicle/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/mozilla/chronicle/pulls/80/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla/chronicle/statuses/4685ba5166c4c79c3c06b0cb14cb6d52ac4464c7"}}}}