Closed MightyHelper closed 3 years ago
lua
http.checkURL("http://localhost")
<intall_root>/config/computercraft.json5
3
4
5
I've spent a few minutes looking at the code and what I believe to be the issue is that this https://github.com/Zundrel/cc-tweaked-fabric/blob/4d00969ef0a6907e122789995ae36fa10070ccb3/src/main/java/dan200/computercraft/shared/util/Config.java#L162-L165 Enables the updating of the whitelist and blacklist, however (I think) the URLs are checked against the httpRules https://github.com/Zundrel/cc-tweaked-fabric/blob/4d00969ef0a6907e122789995ae36fa10070ccb3/src/main/java/dan200/computercraft/ComputerCraft.java#L89-L95 which are not re-created when the blacklist and whitelist arrays are updated.
httpRules
I'm happy to help if you need more information.
Useful information to include:
lua
http.checkURL("http://localhost")
<intall_root>/config/computercraft.json5
3
and4
5
)Probable cause :
I've spent a few minutes looking at the code and what I believe to be the issue is that this https://github.com/Zundrel/cc-tweaked-fabric/blob/4d00969ef0a6907e122789995ae36fa10070ccb3/src/main/java/dan200/computercraft/shared/util/Config.java#L162-L165 Enables the updating of the whitelist and blacklist, however (I think) the URLs are checked against the
httpRules
https://github.com/Zundrel/cc-tweaked-fabric/blob/4d00969ef0a6907e122789995ae36fa10070ccb3/src/main/java/dan200/computercraft/ComputerCraft.java#L89-L95 which are not re-created when the blacklist and whitelist arrays are updated.I'm happy to help if you need more information.