Skip to content

Chieze-Franklin/bolt-internal-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

bolt-internal-config

Internal Bolt module used to get the current configuration under which Bolt is running.

Installation

$ npm install bolt-internal-config

Use

var config  = require('bolt-internal-config')

var port_bolt_is_running_on = config.getPort();

Note

This is an internal module and should not be used in 3rd party apps.

To get the current config send a GET request to /api/system/config. Note that /api/system/config route is installed by the Bolt module bolt_module_system.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published