Add config for Zeit Now
This commit is contained in:
parent
dfbfdd350b
commit
4596daae28
13
now.json
Normal file
13
now.json
Normal file
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"name": "pegjs-website",
|
||||
"type": "npm",
|
||||
"alias": [
|
||||
"www.pegjs.org",
|
||||
"pegjs.org",
|
||||
"pegjs.now.sh"
|
||||
],
|
||||
"files": [
|
||||
"website",
|
||||
"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…
Reference in a new issue