additionalStaticPaths





This configuration option was added in version 5.7.1 of Profound.js.

This option is only for instances of Profound.js that use an URL as the value for the staticFilesDirectory config option.  Due to a limitation, when you use an URL as the value for the staticFilesDirectory only a list of the known PUI files and subdirectories of the static files directory will be accessible.  The additionalStaticPaths config option will allow you to include additional paths to this list.  To add additional paths to the list, set the additionalStaticPaths config option to an array of paths you want to add to the list.  

Profound.js will automatically do some processing to the list of paths that you provide.  It will convert any back-slash characters ('\') into forward-slash characters ('/'), and will automatically add a forward-slash ('/') at the beginning of the string if it does not already exist. 

Examples

Allow access from specific IPs