diff --git a/now.json b/now.json new file mode 100644 index 0000000..6f5ae8f --- /dev/null +++ b/now.json @@ -0,0 +1,13 @@ +{ + "name": "pegjs-website", + "type": "npm", + "alias": [ + "www.pegjs.org", + "pegjs.org", + "pegjs.now.sh" + ], + "files": [ + "website", + "server.js" + ] +} diff --git a/server.js b/server.js index 6576bcf..2293c50 100644 --- a/server.js +++ b/server.js @@ -74,8 +74,8 @@ app.get( "/download", ( req, res ) => { /* Main */ -app.listen( 3000, () => { +app.listen( 80, () => { - console.log( "PEG.js website running at http://localhost:3000/ in %s mode...", app.get( "env" ) ); + console.log( "The PEG.js website is running on the localhost in %s mode...", app.get( "env" ) ); } );