From 5366fcb9c81170a275b200929c17da55c3f741ba Mon Sep 17 00:00:00 2001 From: Jonathan Coates Date: Fri, 8 Jul 2022 22:13:39 +0100 Subject: [PATCH] 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. --- src/main/java/dan200/computercraft/shared/Config.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/dan200/computercraft/shared/Config.java b/src/main/java/dan200/computercraft/shared/Config.java index 246bf7a21..882c4849f 100644 --- a/src/main/java/dan200/computercraft/shared/Config.java +++ b/src/main/java/dan200/computercraft/shared/Config.java @@ -153,7 +153,7 @@ public final class 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