mirror of
https://git.mirrors.martin98.com/https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-08-05 18:20:52 +08:00
hotfix cache upload image
This commit is contained in:
parent
ecd78b3bdd
commit
6f0846b2af
@ -16,7 +16,7 @@ self.addEventListener("install", function (event) {
|
||||
});
|
||||
|
||||
function jsonify(data) {
|
||||
return Response(JSON.stringify(data), { headers: { 'content-type': 'application/json' } })
|
||||
return new Response(JSON.stringify(data), { headers: { 'content-type': 'application/json' } })
|
||||
}
|
||||
|
||||
async function upload(request, url) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user