🚸 optimize

This commit is contained in:
2024-12-20 01:23:51 +08:00
parent 8ab873f5ce
commit 76336d1553
19 changed files with 276 additions and 161 deletions

View File

@@ -11,7 +11,7 @@ export const getGiteeUrl = () => {
},
cacheFor: {
mode: "restore",
expire: 1000 * 60 * 60 * 24 * 7
expire: 1000 * 60 * 60 * 24
}
}
);

View File

@@ -14,7 +14,7 @@ export const getGithubUrl = (state: string) => {
},
cacheFor: {
mode: "restore",
expire: 1000 * 60 * 60 * 24 * 7
expire: 1000 * 60 * 60 * 24
}
}
);

View File

@@ -11,7 +11,7 @@ export const getQQUrl = (state: string) => {
},
cacheFor: {
mode: "restore",
expire: 1000 * 60 * 60 * 24 * 7
expire: 1000 * 60 * 60 * 24
}
}
);

View File

@@ -10,7 +10,7 @@ export const generateQrCode = (clientId: string) => {
params: {
client_id: clientId
},
cacheFor: 1000 * 60 * 60 * 24 * 7,
cacheFor: null,
meta: {
ignoreToken: true,
},