mirror of
https://github.com/SWG-Source/src.git
synced 2026-07-31 00:15:55 -04:00
cleanup
This commit is contained in:
-1
@@ -83,5 +83,4 @@ template<uint32_t... Idx> struct vxCplEncryptedString<vxCplIndexList<Idx...> > {
|
||||
};
|
||||
|
||||
// Compile-time string encryption macro
|
||||
//#define vxENCRYPT(Str) (vxCplEncryptedString<vxCplIndexes<sizeof(Str) - 1>::Result>(Str).decrypt())
|
||||
#define vxENCRYPT(Str) (vxCplEncryptedString<vxCplIndexes<sizeof(Str) - 1>::Result>(Str))
|
||||
|
||||
+1
-5
@@ -6,12 +6,8 @@
|
||||
|
||||
using namespace StellaBellum;
|
||||
|
||||
#define vxENCRYPT2(Str) (vxCplEncryptedString<vxCplIndexes<sizeof(Str) - 1>::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");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user