Skip to content

Commit

Permalink
Fix: fix root path in pm2.json & nginx.conf when create applications, f…
Browse files Browse the repository at this point in the history
  • Loading branch information
welefen committed Mar 3, 2016
1 parent 63f14ca commit de40819
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/command.js
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ let _copyWwwFiles = () => {
'<mode>': mode
});

let ROOT_PATH = cwd + '/' + projectRootPath + '/www';
let ROOT_PATH = projectRootPath + '/www';
copyFile('nginx.conf', projectRootPath + '/nginx.conf', {
'<ROOT_PATH>': ROOT_PATH
});
Expand Down

0 comments on commit de40819

Please sign in to comment.