Skip to content

Upload to Litterbox fails #9

Description

@Unbloated

Everytime an image is exported, it falls back to the blob URL, due to an error coming from the Litterbox API.

Image

Logs from the console here :

gif/:1 Access to fetch at 'https://api.jiftoo.dev/gif/litterbox' from origin 'https://jiftoo.dev' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
index.054b8b51.js:82 
            
            
           POST https://api.jiftoo.dev/gif/litterbox net::ERR_FAILED
aF @ index.054b8b51.js:82
(anonymous) @ index.054b8b51.js:82
Promise.then
saveImage @ index.054b8b51.js:82
Td @ index.054b8b51.js:30
Kd @ index.054b8b51.js:30
Dd @ index.054b8b51.js:30
Qu @ index.054b8b51.js:30
af @ index.054b8b51.js:30
(anonymous) @ index.054b8b51.js:30
NB @ index.054b8b51.js:34
Ld @ index.054b8b51.js:30
cf @ index.054b8b51.js:30
al @ index.054b8b51.js:30
sl @ index.054b8b51.js:30
A.unstable_runWithPriority @ index.054b8b51.js:19
pt @ index.054b8b51.js:30
RB @ index.054b8b51.js:34
Yd @ index.054b8b51.js:30
index.054b8b51.js:82 litterbox failure: TypeError: Failed to fetch
    at aF (index.054b8b51.js:82:18448)
    at index.054b8b51.js:82:24594
(anonymous) @ index.054b8b51.js:82
Promise.catch
aF @ index.054b8b51.js:82
(anonymous) @ index.054b8b51.js:82
Promise.then
saveImage @ index.054b8b51.js:82
Td @ index.054b8b51.js:30
Kd @ index.054b8b51.js:30
Dd @ index.054b8b51.js:30
Qu @ index.054b8b51.js:30
af @ index.054b8b51.js:30
(anonymous) @ index.054b8b51.js:30
NB @ index.054b8b51.js:34
Ld @ index.054b8b51.js:30
cf @ index.054b8b51.js:30
al @ index.054b8b51.js:30
sl @ index.054b8b51.js:30
A.unstable_runWithPriority @ index.054b8b51.js:19
pt @ index.054b8b51.js:30
RB @ index.054b8b51.js:34
Yd @ index.054b8b51.js:30

I'm using Ungoogled Chromium 137.0.7151.103.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions