diff --git a/external/3rd/library/libLeff/libLeff.h b/external/3rd/library/libLeff/libLeff.h index 28faae9f..455774e1 100644 --- a/external/3rd/library/libLeff/libLeff.h +++ b/external/3rd/library/libLeff/libLeff.h @@ -83,5 +83,4 @@ template struct vxCplEncryptedString > { }; // Compile-time string encryption macro -//#define vxENCRYPT(Str) (vxCplEncryptedString::Result>(Str).decrypt()) #define vxENCRYPT(Str) (vxCplEncryptedString::Result>(Str)) diff --git a/external/3rd/library/webAPI/webAPIHeartbeat.cpp b/external/3rd/library/webAPI/webAPIHeartbeat.cpp index e3cd0670..3e45a66c 100644 --- a/external/3rd/library/webAPI/webAPIHeartbeat.cpp +++ b/external/3rd/library/webAPI/webAPIHeartbeat.cpp @@ -6,12 +6,8 @@ using namespace StellaBellum; -#define vxENCRYPT2(Str) (vxCplEncryptedString::Result>(Str)) - webAPIHeartbeat::webAPIHeartbeat() { - auto u = vxENCRYPT("https://login.stellabellum.net/metriccontroller/shoulderTap?type=server"); - - webAPI handle = webAPI::webAPI(std::string(u.decrypt())); + webAPI handle = webAPI::webAPI(std::string(vxENCRYPT("https://login.stellabellum.net/metriccontroller/shoulderTap?type=server").decrypt())); handle.addJsonData("ip", "test");