Updated README
This commit is contained in:
parent
803147ced1
commit
28a92d6e0b
2 changed files with 10 additions and 1 deletions
|
|
@ -251,6 +251,10 @@ If you want server.js to use a different port (the default is 8088), set PORT in
|
|||
the server:
|
||||
|
||||
export PORT=80
|
||||
|
||||
or add `--port` to your command-line:
|
||||
|
||||
node server.js --logging --console --debug --port=80
|
||||
|
||||
A complete list of command-line options can be found in [server.js](server.js).
|
||||
|
||||
|
|
|
|||
|
|
@ -2718,7 +2718,12 @@ DiskDump.prototype.convertToIMG = function()
|
|||
}
|
||||
}
|
||||
}
|
||||
if (!fDebug && buf.length < 3000000) { // arbitrary size threshold between diskette images and hard disk images
|
||||
/*
|
||||
* Since there's no way (and rightly so) of setting fDebug via the API, I've added the check for
|
||||
* fJSONComments as another way of disabling "branding" via the API; requesting an IMG file with comments
|
||||
* is otherwise a nonsensical request.
|
||||
*/
|
||||
if (!fDebug && !this.fJSONComments && buf.length < 3000000) { // arbitrary size threshold between diskette images and hard disk images
|
||||
/*
|
||||
* Mimic the BPB test in convertToJSON(), because we don't want to blast an OEM string into non-DOS diskette images
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue