From 2ba8756bd39e309e072f7630faeab1e1c0fd9594 Mon Sep 17 00:00:00 2001 From: whyour Date: Sun, 30 Oct 2022 12:00:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9cdn=E5=8D=8F=E8=AE=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- back/config/index.ts | 2 +- back/data/notify.ts | 2 +- sample/config.sample.sh | 2 +- sample/notify.js | 2 +- src/layouts/index.tsx | 2 +- src/pages/initialization/index.tsx | 2 +- src/pages/login/index.tsx | 2 +- src/pages/setting/about.tsx | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/back/config/index.ts b/back/config/index.ts index 82d384a4..d7a90187 100644 --- a/back/config/index.ts +++ b/back/config/index.ts @@ -14,7 +14,7 @@ if (!process.env.QL_DIR) { process.env.QL_DIR = qlHomePath.replace(/\/$/g, ''); } -const lastVersionFile = `http://qn.whyour.cn/version.ts?v=${Date.now()}`; +const lastVersionFile = `https://qn.whyour.cn/version.ts?v=${Date.now()}`; const rootPath = process.env.QL_DIR as string; const envFound = dotenv.config({ path: path.join(rootPath, '.env') }); diff --git a/back/data/notify.ts b/back/data/notify.ts index 45cd587f..8ece8525 100644 --- a/back/data/notify.ts +++ b/back/data/notify.ts @@ -50,7 +50,7 @@ export class ChatNotification extends NotificationBaseInfo { export class BarkNotification extends NotificationBaseInfo { public barkPush = ''; - public barkIcon = 'http://qn.whyour.cn/logo.png'; + public barkIcon = 'https://qn.whyour.cn/logo.png'; public barkSound = ''; public barkGroup = 'qinglong'; } diff --git a/sample/config.sample.sh b/sample/config.sample.sh index be62c003..b85d22af 100644 --- a/sample/config.sample.sh +++ b/sample/config.sample.sh @@ -67,7 +67,7 @@ export PUSH_KEY="" ## 下方填写app提供的设备码,例如:https://api.day.app/123 那么此处的设备码就是123 export BARK_PUSH="" ## 下方填写推送图标设置,自定义推送图标(需iOS15或以上) -export BARK_ICON="http://qn.whyour.cn/logo.png" +export BARK_ICON="https://qn.whyour.cn/logo.png" ## 下方填写推送声音设置,例如choo,具体值请在bark-推送铃声-查看所有铃声 export BARK_SOUND="" ## 下方填写推送消息分组,默认为"QingLong" diff --git a/sample/notify.js b/sample/notify.js index 07b93969..a637d063 100644 --- a/sample/notify.js +++ b/sample/notify.js @@ -49,7 +49,7 @@ let CHAT_TOKEN = ''; //此处填你BarkAPP的信息(IP/设备码,例如:https://api.day.app/XXXXXXXX) let BARK_PUSH = ''; //BARK app推送图标,自定义推送图标(需iOS15或以上) -let BARK_ICON = 'http://qn.whyour.cn/logo.png'; +let BARK_ICON = 'https://qn.whyour.cn/logo.png'; //BARK app推送铃声,铃声列表去APP查看复制填写 let BARK_SOUND = ''; //BARK app推送消息的分组, 默认为"QingLong" diff --git a/src/layouts/index.tsx b/src/layouts/index.tsx index a22e544e..f843e8b1 100644 --- a/src/layouts/index.tsx +++ b/src/layouts/index.tsx @@ -244,7 +244,7 @@ export default function () { selectedKeys={[location.pathname]} loading={loading} ErrorBoundary={Sentry.ErrorBoundary} - logo={} + logo={} title={ <> 控制面板 diff --git a/src/pages/initialization/index.tsx b/src/pages/initialization/index.tsx index ab49de9b..6e2f2162 100644 --- a/src/pages/initialization/index.tsx +++ b/src/pages/initialization/index.tsx @@ -232,7 +232,7 @@ const Initialization = () => { logo 初始化配置 diff --git a/src/pages/login/index.tsx b/src/pages/login/index.tsx index 8d7d0c8b..0b29f53b 100644 --- a/src/pages/login/index.tsx +++ b/src/pages/login/index.tsx @@ -129,7 +129,7 @@ const Login = () => { logo {twoFactor ? '两步验证' : config.siteName} diff --git a/src/pages/setting/about.tsx b/src/pages/setting/about.tsx index 6e1d8739..f077ecd8 100644 --- a/src/pages/setting/about.tsx +++ b/src/pages/setting/about.tsx @@ -10,7 +10,7 @@ const About = () => { logo
青龙