X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=src%2Fapp-framework-demo.git;a=blobdiff_plain;f=afb-client%2Fapp%2Fetc%2FAppDefaults.js;fp=afb-client%2Fapp%2Fetc%2FAppDefaults.js;h=8ed0a116941341c6f2a126c489692b1963156160;hp=b0eb1a80a8e4e23a015e6c1251104f52c921518c;hb=95a5e12dca0e0e0eb93b3dad69e529d737840d38;hpb=6d06a2a9a02906ce4c848540d74c3c5798688664 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;