From 95a5e12dca0e0e0eb93b3dad69e529d737840d38 Mon Sep 17 00:00:00 2001 From: Fulup Ar Foll Date: Sat, 28 May 2016 12:28:19 +0200 Subject: Clean up and documentation --- afb-client/app/etc/AppDefaults.js | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'afb-client/app/etc/AppDefaults.js') 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; -- cgit 1.2.3-korg