API Token 有效时间改成无限

This commit is contained in:
eoao
2025-08-11 10:44:33 +08:00
parent d0f42b50f2
commit ddc43896aa
+1 -1
View File
@@ -166,7 +166,7 @@ const publicService = {
const uuid = uuidv4();
await c.env.kv.put(KvConst.PUBLIC_KEY, uuid, { expirationTtl: 60 * 60 * 24 * 7 });
await c.env.kv.put(KvConst.PUBLIC_KEY, uuid);
return {token: uuid}
},