XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet
公开
关注 0 Fork 0 Star 0
返回提交历史

XFEstudio/gpt4free

_

c7f00a9d
t.me/xtekky <98614666+xtekky@users.noreply.github.com>
提交于

代码差异

2 个文件 +2 -2
Modified ora/_jwt.py +2 -2
@@ -62,14 +62,14 @@ spd4eADxTm2m0GR7bhVEIbYfc0aAzIoWDpVs4V3vmx+bdRbppFxV1aS/r0g=
62 62 header = {
63 63 'alg': 'RS256',
64 64 'typ': 'JWT',
65 'kid': '0d1bb0d7-45e4-445c-889e-57419470a570'
65 'kid': '1c8a5da7-527e-4bee-aa8d-aabda16c59ce'
66 66 }
67 67
68 68 payload = {
69 69 **json_data,
70 70 'iat': int(datetime.now().timestamp()),
71 71 'exp': int((datetime.now() + timedelta(minutes=10)).timestamp()),
72 'iss': 'https://ora.sh'
72 'iss': 'https://rick.roll'
73 73 }
74 74
75 75 return jwt.encode(payload, private_key, algorithm='RS256', headers=header)
Renamed ora_test.py +0 -0
此文件没有可显示的逐行差异。