Uploaded Files Returning utfs.io URLs Instead of ufs.sh

Hey everyone, I'm using UploadThing for image uploads in my project. According to the documentation, files should be served from:
https://<APP_ID>.ufs.sh/f/<FILE_KEY>
https://<APP_ID>.ufs.sh/f/<FILE_KEY>
However, when I upload a file, the response only includes URLs in the https://utfs.io/f/ format. Example response:
{
"name": "my-notion-face-portrait.png",
"size": 436213,
"key": "<FILE_KEY>",
"url": "https://utfs.io/f/<FILE_KEY>",
"appUrl": "https://utfs.io/a/<APP_ID>/<FILE_KEY>",
"customId": null,
"type": "image/png"
}
]
{
"name": "my-notion-face-portrait.png",
"size": 436213,
"key": "<FILE_KEY>",
"url": "https://utfs.io/f/<FILE_KEY>",
"appUrl": "https://utfs.io/a/<APP_ID>/<FILE_KEY>",
"customId": null,
"type": "image/png"
}
]
I expected the ufs.sh URL pattern but am only receiving utfs.io. Since the docs mention that utfs.io might be deprecated, I'd like to use the recommended ufs.sh scheme instead. Any help would be appreciated!
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?