server.js now supports "--port=number" as yet another way of starting the Node server with a specific port number

This commit is contained in:
Jeff Parsons 2014-11-02 16:21:26 -08:00 • committed by jeffpar
commit f807c124af
3 changed files with 7 additions and 7 deletions

View file

@ -333,12 +333,12 @@ All published portions are free for redistribution and/or modification under the
[GNU General Public License](/LICENSE) as published by the Free Software Foundation, either version 3 of the License, [GNU General Public License](/LICENSE) as published by the Free Software Foundation, either version 3 of the License,
or (at your option) any later version. or (at your option) any later version.
You are required to include a current copyright notice, with a link to [http://pcjs.org](), such as: You are required to include the following copyright notice, with a link to [http://pcjs.org]():
> [PCjs](http://pcjs.org) © 2012-2014 by [Jeff Parsons](mailto:Jeff@pcjs.org) ([@jeffpar](http://twitter.com/jeffpar)) > [PCjs](http://pcjs.org) © 2012-2014 by [Jeff Parsons](mailto:Jeff@pcjs.org) ([@jeffpar](http://twitter.com/jeffpar))
in every source code file of every copy or modified version of this work, and to display that notice on every screen in every source code file of every copy or modified version of this work, and to display that notice on every web page
that loads or runs any version of this software. or computer that runs any version of this software.
See [LICENSE](/LICENSE) for details. See [LICENSE](/LICENSE) for details.

View file

@ -69,12 +69,12 @@ All published portions are free for redistribution and/or modification under the
[GNU General Public License](/LICENSE) as published by the Free Software Foundation, either version 3 of the License, [GNU General Public License](/LICENSE) as published by the Free Software Foundation, either version 3 of the License,
or (at your option) any later version. or (at your option) any later version.
You are required to include a current copyright notice, with a link to [http://pcjs.org](), such as: You are required to include the following copyright notice, with a link to [http://pcjs.org]():
> [PCjs](http://pcjs.org) © 2012-2014 by [Jeff Parsons](mailto:Jeff@pcjs.org) ([@jeffpar](http://twitter.com/jeffpar)) > [PCjs](http://pcjs.org) © 2012-2014 by [Jeff Parsons](mailto:Jeff@pcjs.org) ([@jeffpar](http://twitter.com/jeffpar))
in every source code file of every copy or modified version of this work, and to display that notice on every screen in every source code file of every copy or modified version of this work, and to display that notice on every web page
that loads or runs any version of this software. or computer that runs any version of this software.
See [LICENSE](/LICENSE) for details. See [LICENSE](/LICENSE) for details.

View file

@ -75,7 +75,7 @@ HTMLOut.setOptions({'cache': fCache, 'console': fConsole, 'debug': fDebug, 'rebu
var app = express(); var app = express();
app.enable("strict routing"); app.enable("strict routing");
app.set('port', process.env.PORT || 8088); app.set('port', process.env.PORT || args.argv['port'] || 8088);
/* /*
* I already include the following in the <head> tag of my HTML documents: * I already include the following in the <head> tag of my HTML documents: