Profound.js configuration settings are stored in a file named config.js within the Profound.js installation directory. The settings are exported as a JavaScript object and can be described in JSON format. The following example shows a typical config.js file:
module.exports = { "staticFilesDirectory": "htdocs", "pathlist": [ "pjssamples" ], "initialModules": { "/helloworld": "pjssamples/helloworld", "/connect4": "pjssamples/connect4" }, "dbDriver": "IBMi", "timeout": 3600 }
Each property within the JSON object represents a Profound.js setting. Available properties are listed as child pages below.