Discover FortressJS - A fast, secure and easy I/O framework
Adrien-fr
68.8K views
Configuration
Each part of FortressJS could be configured :
- Engines
- Apps / plugins
- Servers
- Hosts
You can easily enable or disable a component by switching its state to true
or false
.
Let's do that :
Change the state of the engine and the server
1
2
3
4
5
6
7
var engineConf =
{
"state": false,
"pos": 0
}
module.exports = engineConf
1
var wf = WF();
By clicking on "Run", a script will execute the same step as the previous chapter. If you done it correctly, you should see "Well done ! (:"
Create your playground on Tech.io
This playground was created on Tech.io, our hands-on, knowledge-sharing platform for developers.