fix: Fix the "token expired" error in DataEase embedded mode.

This commit is contained in:
fit2cloud-chenyw
2026-02-03 17:25:25 +08:00
committed by fit2cloud-chenyw
parent b6b35ec4ab
commit 1a01163aae
+2 -1
View File
@@ -108,7 +108,8 @@ class HttpService {
assistantStore.getCertificate
) {
if (
(config.method?.toLowerCase() === 'get' && /\/chat\/\d+$/.test(config.url || '')) ||
/* (config.method?.toLowerCase() === 'get' && /\/chat\/\d+$/.test(config.url || '')) || */
/^\/chat/.test(config.url || '') ||
config.url?.includes('/system/assistant/ds')
) {
await assistantStore.refreshCertificate()