Browse Source

Add config for Zeit Now

master
Futago-za Ryuu 3 years ago
parent
commit
4596daae28
  1. 13
      now.json
  2. 4
      server.js

13
now.json

@ -0,0 +1,13 @@
{
"name": "pegjs-website",
"type": "npm",
"alias": [
"www.pegjs.org",
"pegjs.org",
"pegjs.now.sh"
],
"files": [
"website",
"server.js"
]
}

4
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" ) );
} );
Loading…
Cancel
Save