mirror of
https://github.com/langgenius/dify.git
synced 2025-09-09 17:20:56 +00:00
nacos config init , and force add ts parms. (#20526)
Signed-off-by: zhanluxianshen <zhanluxianshen@163.com>
This commit is contained in:
parent
c26e1929d6
commit
b33f8b47ca
@ -60,8 +60,7 @@ class NacosHttpClient:
|
|||||||
sign_str = tenant + "+"
|
sign_str = tenant + "+"
|
||||||
if group:
|
if group:
|
||||||
sign_str = sign_str + group + "+"
|
sign_str = sign_str + group + "+"
|
||||||
if sign_str:
|
sign_str += ts # Directly concatenate ts without conditional checks, because the nacos auth header forced it.
|
||||||
sign_str += ts
|
|
||||||
return sign_str
|
return sign_str
|
||||||
|
|
||||||
def get_access_token(self, force_refresh=False):
|
def get_access_token(self, force_refresh=False):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user