Update Sunnylink base URL and upload attribute name

Updated the base URL for SUNNYLINK to point to a new staging test environment. Changed the UPLOAD_ATTR_NAME in the sunnylink uploader from 'user.sunny.upload' to 'user.sunnydv.upload'. This provides distinction and prevents potential conflicts.
This commit is contained in:
DevTekVE
2024-05-29 08:42:42 +02:00
parent 4857b35943
commit ab0a10cd9c
2 changed files with 2 additions and 2 deletions
@@ -10,7 +10,7 @@
#include "selfdrive/ui/qt/widgets/controls.h"
#include "selfdrive/ui/qt/widgets/scrollview.h"
const QString SUNNYLINK_BASE_URL = util::getenv("SUNNYLINK_API_HOST", "https://stg.api.sunnypilot.ai").c_str();
const QString SUNNYLINK_BASE_URL = util::getenv("SUNNYLINK_API_HOST", "https://tst-mr-46.dev.api.sunnypilot.ai").c_str();
// sponsor QR code
class SunnylinkSponsorQRWidget : public QWidget {
Q_OBJECT
+1 -1
View File
@@ -22,7 +22,7 @@ from openpilot.system.loggerd.xattr_cache import getxattr, setxattr
from openpilot.common.swaglog import cloudlog
NetworkType = log.DeviceState.NetworkType
UPLOAD_ATTR_NAME = 'user.sunny.upload'
UPLOAD_ATTR_NAME = 'user.sunnydv.upload'
UPLOAD_ATTR_VALUE = b'1'