[fix] load caching fix

This commit is contained in:
kwaroran
2023-07-02 20:39:40 +09:00
parent 1152676d14
commit ed7a7865bb
2 changed files with 3 additions and 2 deletions

View File

@@ -45,7 +45,7 @@ export class AccountStorage{
}
let da:Response
while((!da) || da.status === 403){
da = await fetch(hubURL + '/api/account/read', {
da = await fetch(hubURL + '/api/account/read/' + Buffer.from(key ,'utf-8').toString('base64url'), {
method: "GET",
headers: {
'x-risu-key': key,