переход на получение статистики устройства новым API библиотеки control_system_client

This commit is contained in:
2024-11-05 16:06:16 +03:00
parent 5bfc5cebaf
commit 541b08a40e
12 changed files with 855 additions and 181 deletions

View File

@@ -253,8 +253,13 @@ int main(int argc, char *argv[]) {
BOOST_LOG_TRIVIAL(info) << "Starting RELEASE build" << argv[0];
#endif
#ifdef USE_DEBUG
http::auth::jwt::secretKey = "^}u'ZKyQ%;+:lnh^GS7!=G~nRK?7[{``";
BOOST_LOG_TRIVIAL(info) << "DEBUG build use pre-created key " << http::auth::jwt::secretKey;
#else
http::auth::jwt::generateSecretKey();
BOOST_LOG_TRIVIAL(info) << "Generated new secret key " << http::auth::jwt::secretKey;
#endif
ServerResources resources;