Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

Profound.js configuration settings are stored in a file named config.js within the Profound.js installation directory. Whenever config.js is modified, you must restart the Profound.js instance for the new configuration to take effect.

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": {
    "/hello": "pjssamples/hello",
    "/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.

  • No labels