{"action":"created","comment":{"url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/pulls/comments/42882272","id":42882272,"diff_hunk":"@@ -1,9 +1,13 @@\n 'user strict'\n \n var bodyParser = require('body-parser');\n+var express = require('express');\n+var dirnameArray =  __dirname.split('/');\n+var path = dirnameArray.slice(0, dirnameArray.length - 1).join('/');","path":"server/config/express.middle.js","position":6,"original_position":6,"commit_id":"013d510ada852bde0a8753491228b827048f2805","original_commit_id":"013d510ada852bde0a8753491228b827048f2805","user":{"login":"armandopmj","id":8052308,"avatar_url":"https://avatars.githubusercontent.com/u/8052308?v=3","gravatar_id":"","url":"https://api.github.com/users/armandopmj","html_url":"https://github.com/armandopmj","followers_url":"https://api.github.com/users/armandopmj/followers","following_url":"https://api.github.com/users/armandopmj/following{/other_user}","gists_url":"https://api.github.com/users/armandopmj/gists{/gist_id}","starred_url":"https://api.github.com/users/armandopmj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/armandopmj/subscriptions","organizations_url":"https://api.github.com/users/armandopmj/orgs","repos_url":"https://api.github.com/users/armandopmj/repos","events_url":"https://api.github.com/users/armandopmj/events{/privacy}","received_events_url":"https://api.github.com/users/armandopmj/received_events","type":"User","site_admin":false},"body":"@mLuby shit that right... I'll update ","created_at":"2015-10-23T16:00:54Z","updated_at":"2015-10-23T16:00:54Z","html_url":"https://github.com/projectLiftOff/surpriseHer.server/pull/13#discussion_r42882272","pull_request_url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/pulls/13","_links":{"self":{"href":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/pulls/comments/42882272"},"html":{"href":"https://github.com/projectLiftOff/surpriseHer.server/pull/13#discussion_r42882272"},"pull_request":{"href":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/pulls/13"}}},"pull_request":{"url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/pulls/13","id":48549802,"html_url":"https://github.com/projectLiftOff/surpriseHer.server/pull/13","diff_url":"https://github.com/projectLiftOff/surpriseHer.server/pull/13.diff","patch_url":"https://github.com/projectLiftOff/surpriseHer.server/pull/13.patch","issue_url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/issues/13","number":13,"state":"open","locked":false,"title":"feat(landingPage): serve landing page using server","user":{"login":"armandopmj","id":8052308,"avatar_url":"https://avatars.githubusercontent.com/u/8052308?v=3","gravatar_id":"","url":"https://api.github.com/users/armandopmj","html_url":"https://github.com/armandopmj","followers_url":"https://api.github.com/users/armandopmj/followers","following_url":"https://api.github.com/users/armandopmj/following{/other_user}","gists_url":"https://api.github.com/users/armandopmj/gists{/gist_id}","starred_url":"https://api.github.com/users/armandopmj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/armandopmj/subscriptions","organizations_url":"https://api.github.com/users/armandopmj/orgs","repos_url":"https://api.github.com/users/armandopmj/repos","events_url":"https://api.github.com/users/armandopmj/events{/privacy}","received_events_url":"https://api.github.com/users/armandopmj/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-10-23T07:31:51Z","updated_at":"2015-10-23T16:00:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ec02ecaf8231d281de3bd68c17c71ba7a9c5c0b5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/pulls/13/commits","review_comments_url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/pulls/13/comments","review_comment_url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/issues/13/comments","statuses_url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/statuses/013d510ada852bde0a8753491228b827048f2805","head":{"label":"projectLiftOff:feat.signupView","ref":"feat.signupView","sha":"013d510ada852bde0a8753491228b827048f2805","user":{"login":"projectLiftOff","id":13727287,"avatar_url":"https://avatars.githubusercontent.com/u/13727287?v=3","gravatar_id":"","url":"https://api.github.com/users/projectLiftOff","html_url":"https://github.com/projectLiftOff","followers_url":"https://api.github.com/users/projectLiftOff/followers","following_url":"https://api.github.com/users/projectLiftOff/following{/other_user}","gists_url":"https://api.github.com/users/projectLiftOff/gists{/gist_id}","starred_url":"https://api.github.com/users/projectLiftOff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projectLiftOff/subscriptions","organizations_url":"https://api.github.com/users/projectLiftOff/orgs","repos_url":"https://api.github.com/users/projectLiftOff/repos","events_url":"https://api.github.com/users/projectLiftOff/events{/privacy}","received_events_url":"https://api.github.com/users/projectLiftOff/received_events","type":"Organization","site_admin":false},"repo":{"id":40576289,"name":"surpriseHer.server","full_name":"projectLiftOff/surpriseHer.server","owner":{"login":"projectLiftOff","id":13727287,"avatar_url":"https://avatars.githubusercontent.com/u/13727287?v=3","gravatar_id":"","url":"https://api.github.com/users/projectLiftOff","html_url":"https://github.com/projectLiftOff","followers_url":"https://api.github.com/users/projectLiftOff/followers","following_url":"https://api.github.com/users/projectLiftOff/following{/other_user}","gists_url":"https://api.github.com/users/projectLiftOff/gists{/gist_id}","starred_url":"https://api.github.com/users/projectLiftOff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projectLiftOff/subscriptions","organizations_url":"https://api.github.com/users/projectLiftOff/orgs","repos_url":"https://api.github.com/users/projectLiftOff/repos","events_url":"https://api.github.com/users/projectLiftOff/events{/privacy}","received_events_url":"https://api.github.com/users/projectLiftOff/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/projectLiftOff/surpriseHer.server","description":"","fork":false,"url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server","forks_url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/forks","keys_url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/teams","hooks_url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/hooks","issue_events_url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/issues/events{/number}","events_url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/events","assignees_url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/assignees{/user}","branches_url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/branches{/branch}","tags_url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/tags","blobs_url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/git/refs{/sha}","trees_url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/statuses/{sha}","languages_url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/languages","stargazers_url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/stargazers","contributors_url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/contributors","subscribers_url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/subscribers","subscription_url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/subscription","commits_url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/commits{/sha}","git_commits_url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/git/commits{/sha}","comments_url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/comments{/number}","issue_comment_url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/issues/comments{/number}","contents_url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/contents/{+path}","compare_url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/merges","archive_url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/downloads","issues_url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/issues{/number}","pulls_url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/pulls{/number}","milestones_url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/milestones{/number}","notifications_url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/labels{/name}","releases_url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/releases{/id}","created_at":"2015-08-12T02:36:54Z","updated_at":"2015-10-06T05:28:10Z","pushed_at":"2015-10-23T07:58:20Z","git_url":"git://github.com/projectLiftOff/surpriseHer.server.git","ssh_url":"git@github.com:projectLiftOff/surpriseHer.server.git","clone_url":"https://github.com/projectLiftOff/surpriseHer.server.git","svn_url":"https://github.com/projectLiftOff/surpriseHer.server","homepage":null,"size":2620,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":10,"forks":0,"open_issues":10,"watchers":0,"default_branch":"master"}},"base":{"label":"projectLiftOff:master","ref":"master","sha":"bc751a5f2ded4b5994e4388f2403119eb8d07fcb","user":{"login":"projectLiftOff","id":13727287,"avatar_url":"https://avatars.githubusercontent.com/u/13727287?v=3","gravatar_id":"","url":"https://api.github.com/users/projectLiftOff","html_url":"https://github.com/projectLiftOff","followers_url":"https://api.github.com/users/projectLiftOff/followers","following_url":"https://api.github.com/users/projectLiftOff/following{/other_user}","gists_url":"https://api.github.com/users/projectLiftOff/gists{/gist_id}","starred_url":"https://api.github.com/users/projectLiftOff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projectLiftOff/subscriptions","organizations_url":"https://api.github.com/users/projectLiftOff/orgs","repos_url":"https://api.github.com/users/projectLiftOff/repos","events_url":"https://api.github.com/users/projectLiftOff/events{/privacy}","received_events_url":"https://api.github.com/users/projectLiftOff/received_events","type":"Organization","site_admin":false},"repo":{"id":40576289,"name":"surpriseHer.server","full_name":"projectLiftOff/surpriseHer.server","owner":{"login":"projectLiftOff","id":13727287,"avatar_url":"https://avatars.githubusercontent.com/u/13727287?v=3","gravatar_id":"","url":"https://api.github.com/users/projectLiftOff","html_url":"https://github.com/projectLiftOff","followers_url":"https://api.github.com/users/projectLiftOff/followers","following_url":"https://api.github.com/users/projectLiftOff/following{/other_user}","gists_url":"https://api.github.com/users/projectLiftOff/gists{/gist_id}","starred_url":"https://api.github.com/users/projectLiftOff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projectLiftOff/subscriptions","organizations_url":"https://api.github.com/users/projectLiftOff/orgs","repos_url":"https://api.github.com/users/projectLiftOff/repos","events_url":"https://api.github.com/users/projectLiftOff/events{/privacy}","received_events_url":"https://api.github.com/users/projectLiftOff/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/projectLiftOff/surpriseHer.server","description":"","fork":false,"url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server","forks_url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/forks","keys_url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/teams","hooks_url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/hooks","issue_events_url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/issues/events{/number}","events_url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/events","assignees_url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/assignees{/user}","branches_url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/branches{/branch}","tags_url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/tags","blobs_url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/git/refs{/sha}","trees_url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/statuses/{sha}","languages_url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/languages","stargazers_url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/stargazers","contributors_url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/contributors","subscribers_url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/subscribers","subscription_url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/subscription","commits_url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/commits{/sha}","git_commits_url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/git/commits{/sha}","comments_url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/comments{/number}","issue_comment_url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/issues/comments{/number}","contents_url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/contents/{+path}","compare_url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/merges","archive_url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/downloads","issues_url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/issues{/number}","pulls_url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/pulls{/number}","milestones_url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/milestones{/number}","notifications_url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/labels{/name}","releases_url":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/releases{/id}","created_at":"2015-08-12T02:36:54Z","updated_at":"2015-10-06T05:28:10Z","pushed_at":"2015-10-23T07:58:20Z","git_url":"git://github.com/projectLiftOff/surpriseHer.server.git","ssh_url":"git@github.com:projectLiftOff/surpriseHer.server.git","clone_url":"https://github.com/projectLiftOff/surpriseHer.server.git","svn_url":"https://github.com/projectLiftOff/surpriseHer.server","homepage":null,"size":2620,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":10,"forks":0,"open_issues":10,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/pulls/13"},"html":{"href":"https://github.com/projectLiftOff/surpriseHer.server/pull/13"},"issue":{"href":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/issues/13"},"comments":{"href":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/projectLiftOff/surpriseHer.server/statuses/013d510ada852bde0a8753491228b827048f2805"}}}}