code: update test token

This commit is contained in:
PengXiaoPeng 2023-07-22 16:47:26 +08:00
parent 0316ca477f
commit 5477a7dd26

View File

@ -31,7 +31,7 @@ const putPic = async (file: any) => {
path,
}
await fetch(imageUrl, body, 'put', {
Authorization: 'token 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',
Authorization: 'token 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',
'Content-Type': 'application/json; charset=utf-8',
})
return `https://fastly.jsdelivr.net/gh/shawnphang/files@main/${path}`