diff options
author | Fulup Ar Foll <fulup@iot.bzh> | 2016-05-28 12:28:19 +0200 |
---|---|---|
committer | Fulup Ar Foll <fulup@iot.bzh> | 2016-05-28 12:28:19 +0200 |
commit | 95a5e12dca0e0e0eb93b3dad69e529d737840d38 (patch) | |
tree | 618f800406d41e6f23e5722671ed51ac0144bd8e /afb-client/app/etc | |
parent | 6d06a2a9a02906ce4c848540d74c3c5798688664 (diff) |
Clean up and documentation
Diffstat (limited to 'afb-client/app/etc')
-rw-r--r-- | afb-client/app/etc/AppDefaults.js | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/afb-client/app/etc/AppDefaults.js b/afb-client/app/etc/AppDefaults.js index b0eb1a8..8ed0a11 100644 --- a/afb-client/app/etc/AppDefaults.js +++ b/afb-client/app/etc/AppDefaults.js @@ -25,18 +25,7 @@ config = { FRONTEND: "Frontend", // HTML5 frontend [no leading ./] BACKEND : "Backend", // NodeJS Rest API [no leading ./] URLBASE : '/opa/', // HTML basedir when running in production [should end with a /] - APIBASE : '/api/', // Api url base dir [should end with a /] - DEBUG : 4001, // Node Debug Port - DBG_LVL : 5, // Debug Trace Level 0=no trace. - - UPLOAD_DIR: '/tmp/uploads', // directory destination for uploaded files [/api/post/upload] - - // EXPRESS WEB server config [note: URLBASE generate rewriting rules] - EXPRESS_HOST : 'localhost', // HTTP will only listen on related Internet interface - EXPRESS_PORT : 4000, // HTTP port - EXPRESS_LOGDIR : __dirname + '/../../log', // httpd log file - EXPRESS_SECRET : Math.random().toString(36).slice(2), // [default cookie session] - EXPRESS_SESSION : SESSION_TIMEOUT + APIBASE : '/api/' // Api url base dir [should end with a /] }; module.exports = config; |