{"action":"created","issue":{"url":"https://api.github.com/repos/balderdashy/sails/issues/2736","labels_url":"https://api.github.com/repos/balderdashy/sails/issues/2736/labels{/name}","comments_url":"https://api.github.com/repos/balderdashy/sails/issues/2736/comments","events_url":"https://api.github.com/repos/balderdashy/sails/issues/2736/events","html_url":"https://github.com/balderdashy/sails/issues/2736","id":60719490,"number":2736,"title":"Bug #1860 needs to be re-opened","user":{"login":"g2graman","id":4106885,"avatar_url":"https://avatars.githubusercontent.com/u/4106885?v=3","gravatar_id":"","url":"https://api.github.com/users/g2graman","html_url":"https://github.com/g2graman","followers_url":"https://api.github.com/users/g2graman/followers","following_url":"https://api.github.com/users/g2graman/following{/other_user}","gists_url":"https://api.github.com/users/g2graman/gists{/gist_id}","starred_url":"https://api.github.com/users/g2graman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/g2graman/subscriptions","organizations_url":"https://api.github.com/users/g2graman/orgs","repos_url":"https://api.github.com/users/g2graman/repos","events_url":"https://api.github.com/users/g2graman/events{/privacy}","received_events_url":"https://api.github.com/users/g2graman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-03-11T19:57:20Z","updated_at":"2015-04-08T07:21:54Z","closed_at":null,"body":"As the title reads; I can't find a single source that seems properly lift an app in a testing environment without complaining about maxAge being undefined upon lifting:\r\n\r\n    1)  \"before all\" hook:\r\n    Uncaught TypeError: Cannot read property 'maxAge' of undefined\r\n\r\nI posted the last comment there (https://github.com/balderdashy/sails/issues/1860#issuecomment-77801626) but it might not get seen because the initial issue has been closed."},"comment":{"url":"https://api.github.com/repos/balderdashy/sails/issues/comments/90828782","html_url":"https://github.com/balderdashy/sails/issues/2736#issuecomment-90828782","issue_url":"https://api.github.com/repos/balderdashy/sails/issues/2736","id":90828782,"user":{"login":"mikemastah","id":426798,"avatar_url":"https://avatars.githubusercontent.com/u/426798?v=3","gravatar_id":"","url":"https://api.github.com/users/mikemastah","html_url":"https://github.com/mikemastah","followers_url":"https://api.github.com/users/mikemastah/followers","following_url":"https://api.github.com/users/mikemastah/following{/other_user}","gists_url":"https://api.github.com/users/mikemastah/gists{/gist_id}","starred_url":"https://api.github.com/users/mikemastah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikemastah/subscriptions","organizations_url":"https://api.github.com/users/mikemastah/orgs","repos_url":"https://api.github.com/users/mikemastah/repos","events_url":"https://api.github.com/users/mikemastah/events{/privacy}","received_events_url":"https://api.github.com/users/mikemastah/received_events","type":"User","site_admin":false},"created_at":"2015-04-08T07:21:54Z","updated_at":"2015-04-08T07:21:54Z","body":"Looking at [this line](https://github.com/balderdashy/sails/blob/master/lib/hooks/http/middleware/defaults.js#L26), I'd say you have to explicitly set your static path by adding something like..\r\n```(json)\r\npaths: {\r\n    public: '/path/to/static/folder/.tmp'\r\n}\r\n```\r\n..to your config object.  Correct me if I am wrong, but this does not appear to be documented anywhere"}}