Skip to content

Commit 83694b4

Browse files
authored
Add caution about custom domains and Strapi Cloud assets URLs (#2470)
1 parent 6e6ed81 commit 83694b4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Diff for: docusaurus/docs/cloud/projects/settings.md

+6
Original file line numberDiff line numberDiff line change
@@ -419,6 +419,12 @@ Default domain names are made of 2 randomly generated words followed by a hash.
419419

420420
3. Click on the **Save** button.
421421

422+
:::caution Custom domains and assets
423+
When using custom domains, these domains do not apply to the URLs of uploaded assets. Uploaded assets keep the Strapi Cloud project-based URL.
424+
425+
This means that, if your custom domain is hosted at `https://my-custom-domain.com` and your Strapi Cloud project name is `my-strapi-cloud-instance`, API calls will still return URLs such as `https://my-strapi-cloud-instance.media.strapiapp.com/example.png`.
426+
:::
427+
422428
### Variables
423429

424430
Environment variables (more information in the [CMS Documentation](/cms/configurations/environment)) are used to configure the environment of your Strapi application, such as the database connection.

0 commit comments

Comments
 (0)