/
Configuration File Details
Configuration File Details
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"
],
databaseConnections: [
{
name: "default",
default: true,
driver: "IBMi"
}
],
"timeout": 3600,
"port": 8081
}
Each property within the JSON object represents a Profound.js setting. Available properties are listed as child pages below.
- accessLog
- accessLogFormat
- accessLogRotation
- additionalStaticPaths
- apiPrefix
- appendPJSPathlist
- asyncArrayIteration
- authenticate
- autoAsyncAwait
- basicAuthCredentials
- compression
- connectionDetails
- connectorAllowUnsafe
- connectorCredentials
- connectorIASP
- connectorIPFilter
- connectorLibrary
- connectorPassword
- connectorTimeout
- connectorURL
- connectorUser
- custom
- customAuthentication
- customHttpHeaders
- databaseConnections
- dateFormat
- dateSeparator
- db2ConnectionPoolSize
- dbDriver
- decimalFormat
- defaultMode
- deferDefine
- designer
- displayErrors
- enableAtrium
- enableConnector
- enableCORS
- enableDbDefn
- encryptionKey
- errorScreen
- getAttnProgram
- gitPath
- gitSupport
- host
- hotReloading
- htmlTemplate
- httpRequestAPITimeout
- initialModules
- inspector
- keepColNameCase
- localIdeSettings
- logDirectory
- logging (logging options)
- longHttpTimeout
- mailTransport
- msgFileType
- onerror
- onLicenseEvent
- onPrinterFileClose
- pathlist
- pjscallKeys
- pjscallSocketTimeout
- port
- preciseDecimal
- preRouting
- profounduiIntegrationMode
- profounduiLibrary
- profounduiServerURL
- redirectHTTP
- requestSizeLimit
- runCcsid
- runMixCcsid
- saveResponseBody
- searchModulesPaths
- securePort
- setProgramSQLDefaults
- sflMsgQueueType
- shell
- shellArgs
- shortHttpTimeout
- showIBMiParmDefn
- socketInactivityTimeout
- sourceCcsid
- sslCert
- sslKey
- sslOptions
- staticFilesDirectory
- staticOptions
- tcpKeepAlive
- timedTasks
- timeFormat
- timeout
- timeSeparator
- userdataDirectory
- widgetBackend
- workWithSessions
- wsCompressionThreshold
- wsOptions