From d1185e5ff5d586f75b2715494e524c41e1d00dfe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E8=89=AF?= <841369634@qq.com> Date: Sat, 21 Sep 2024 22:45:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8B=E8=BD=BD=E8=BF=9C=E7=A8=8B=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E6=96=87=E4=BB=B6=E6=97=B6=EF=BC=8C=E5=86=8D=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E8=AF=B7=E6=B1=82=E5=A4=B4=20`Pragma:=20no-cache`=20?= =?UTF-8?q?=E9=81=BF=E5=85=8D=E7=BC=93=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/core/src/config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/core/src/config.js b/packages/core/src/config.js index 41b105ba..769497c3 100644 --- a/packages/core/src/config.js +++ b/packages/core/src/config.js @@ -85,7 +85,8 @@ const configApi = { log.info('开始下载远程配置:', remoteConfigUrl) const headers = { - 'Cache-Control': 'no-cache' // 禁止使用缓存 + 'Cache-Control': 'no-cache', // 禁止使用缓存 + Pragma: 'no-cache' // 禁止使用缓存 } if (remoteConfigUrl.startsWith('https://raw.githubusercontent.com/')) { headers['Server-Name'] = 'baidu.com'