profoundjs.applyConfig()



This API, which is typically coded in the start.js file, is used to apply a Profound.js server configuration before Profound.js is started.

Parameters

  1. Configuration object - the details of this object are described here

Example

var profoundjs = require("profoundjs"); var config = require("./config.js"); profoundjs.applyConfig(config);