mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-08-08 02:05:43 +08:00
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:
@@ -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
|
||||
|
||||
@@ -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'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user