Skip to content

Commit

Permalink
optimize prod server
Browse files Browse the repository at this point in the history
  • Loading branch information
_eternal_flame authored and _eternal_flame committed Aug 5, 2018
1 parent 28ee374 commit 794b0ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ if (serveHttps) {

server.listen(PORT, ADDR, function () {
console.log('Server running at ' + ADDR + ":" + PORT);
console.log('\x1b[33mPlease install local Pxer script:');
console.log('\x1b[33mPlease install local Pxer script:\x1b[0m');
console.log("dev : "+(serveHttps? "https://" : "http://") + ADDR + ":" + PORT + "/pxer-dev-local.user.js");
console.log("master: "+(serveHttps? "https://" : "http://") + ADDR + ":" + PORT + "/pxer-local.user.js");
});
2 changes: 1 addition & 1 deletion prod-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ apps:
name : 'pxer-server'
instances : 4
args : '-a 0.0.0.0 -p 443 -c yes --cert /path/to/your/cert.pem --key /path/to/your/privkey.pem --analytics'
watch : true
watch : false
merge_logs : true
output : './pxer-server.log'

0 comments on commit 794b0ff

Please sign in to comment.