Back

Unable to access images from custom domain

  • 0
  • Storage
  • Cloud
Caesura
7 Apr, 2025, 13:45

Set up a custom domain because of third party cookie issues from using front end for vercel and back end is appwrite. using for the app.

Set up the custom domain on vercel and appwrite, everything uses it except for the image urls.

The database base stores them as https://cloud.appwrite.io/v1/storage/buckets/

But the request is for my custom domain.

Anyway for the images to be saved with the domain url?

TL;DR
Developers can't access images from the custom domain because they are stored with the default `cloud.appwrite.io` URL format. To fix this, update the image URLs to use the custom domain to ensure they work correctly within the project.
Darshan Pandya
7 Apr, 2025, 13:47

if you added a custom domains to project, those should work for image urls as well afaik 🤔

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more