Add support for --private to server.js (for my private builds only)
This commit is contained in:
parent
cb9aef4185
commit
3c8e7fb78f
2 changed files with 7 additions and 1 deletions
|
|
@ -89,7 +89,10 @@ var fServerDebug = false;
|
||||||
var logFile = null;
|
var logFile = null;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* fPrivate determines the insertion of private.js
|
* fPrivate will be set to true to by setOptions() if the server was started with '--private', giving the Node
|
||||||
|
* server an option comparable to Jekyll's site.pcjs.private setting, and triggering the load of "private.js" as
|
||||||
|
* appropriate. Currently, the only (checked-in) use of the private setting is to set the client's PRIVATE global
|
||||||
|
* and trigger the loading of alternate (ie, private) XML files in embed.js.
|
||||||
*/
|
*/
|
||||||
var fPrivate = false;
|
var fPrivate = false;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -38,5 +38,8 @@
|
||||||
* PRIVATE enables certain private features that we don't want enabled on the public web server, so by default,
|
* PRIVATE enables certain private features that we don't want enabled on the public web server, so by default,
|
||||||
* PRIVATE is false. For Jekyll configurations, if site.pcjs.private is set, this file gets included, overriding
|
* PRIVATE is false. For Jekyll configurations, if site.pcjs.private is set, this file gets included, overriding
|
||||||
* the default.
|
* the default.
|
||||||
|
*
|
||||||
|
* Currently, the only (checked-in) use of the private setting is to set the client's PRIVATE global and trigger
|
||||||
|
* the loading of alternate (ie, private) XML files in embed.js.
|
||||||
*/
|
*/
|
||||||
PRIVATE = true;
|
PRIVATE = true;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue