1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-06-25 22:53:22 +00:00

Point people towards the http.rules config option

Rather than blanket disabling http with http.enabled. I think it's still
useful to keep the option around, but hopefully make it clearer what the
ramifications are.
This commit is contained in:
Jonathan Coates 2022-07-08 22:13:39 +01:00
parent 6335e77da6
commit 5366fcb9c8
No known key found for this signature in database
GPG Key ID: B9E431FF07C98D06

View File

@ -153,7 +153,7 @@ private Config() {}
builder.push( "http" );
httpEnabled = builder
.comment( "Enable the \"http\" API on Computers (see \"rules\" for more fine grained control than this)." )
.comment( "Enable the \"http\" API on Computers. This also disables the \"pastebin\" and \"wget\"\nprograms, that many users rely on. It's recommended to leave this on and use the\n\"rules\" config option to impose more fine-grained control." )
.define( "enabled", ComputerCraft.httpEnabled );
httpWebsocketEnabled = builder