mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-08 09:17:06 +08:00
fix: Fix the "token expired" error in DataEase embedded mode.
This commit is contained in:
committed by
fit2cloud-chenyw
parent
b6b35ec4ab
commit
1a01163aae
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user