diff --git a/addons/main/CfgCommands.hpp b/addons/main/CfgCommands.hpp new file mode 100644 index 0000000..08a7e90 --- /dev/null +++ b/addons/main/CfgCommands.hpp @@ -0,0 +1,5 @@ +class CfgCommands { + allowedHTMLLoadURIs[] += { + "http://localhost:3000/ping*" + }; +}; \ No newline at end of file diff --git a/addons/main/config.cpp b/addons/main/config.cpp index 6e0f86a..a461a18 100644 --- a/addons/main/config.cpp +++ b/addons/main/config.cpp @@ -8,6 +8,8 @@ class CfgPatches { { "cba_common" }; - requiredVersion = 0.1; + requiredVersion = 0.5; }; -}; \ No newline at end of file +}; + +#include "CfgCommands.hpp" \ No newline at end of file