Back
Close

Discover FortressJS - A fast, secure and easy I/O framework

Adrien-fr
20.6K 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
var engineConf =
{
"state": false,
"pos": 0
}
module.exports = engineConf
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

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.
Go to tech.io
codingame x discord
Join the CodinGame community on Discord to chat about puzzle contributions, challenges, streams, blog articles - all that good stuff!
JOIN US ON DISCORD
Online Participants