переход на получение статистики устройства новым API библиотеки control_system_client
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user