From 919c1d80325bf126aaf0bd403eb5e499987c17a8 Mon Sep 17 00:00:00 2001 From: leookun Date: Wed, 2 Sep 2026 12:49:57 +0800 Subject: [PATCH] fix: update ADS_ENDPOINT to production URL - Changed the `ADS_ENDPOINT` from a local server URL to the production URL for ads. - Commented out the local server URL for clarity and future reference. --- server/src/control/ads.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/src/control/ads.rs b/server/src/control/ads.rs index bd5ffe9..6d17814 100644 --- a/server/src/control/ads.rs +++ b/server/src/control/ads.rs @@ -16,8 +16,8 @@ use super::ControlService; // 此广告拉取不涉及用户隐私,用户id随机产生 // 开源项目广告为作者唯一收入来源,PR时请勿去除此广告 -// pub(super) const ADS_ENDPOINT: &str = "https://tab.leokun.cn/api/v1/ads?placement=menu"; -pub(super) const ADS_ENDPOINT: &str = "http://localhost:8080/api/v1/ads?placement=menu"; +pub(super) const ADS_ENDPOINT: &str = "https://tab.leokun.cn/api/v1/ads?placement=menu"; +// pub(super) const ADS_ENDPOINT: &str = "http://localhost:8080/api/v1/ads?placement=menu"; pub(super) const DEVICE_ID_HEADER: &str = "X-Cursor-Assistant-Device-ID"; pub(super) const OS_HEADER: &str = "X-Cursor-Assistant-OS"; pub(super) const APP_VERSION_HEADER: &str = "X-Cursor-Assistant-Version";