You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/docs/src/content/docs/guides/custom-domain.mdx
+11-10Lines changed: 11 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,12 @@
1
1
---
2
-
title: "Adding a Custom Domain"
2
+
title: 'Adding a Custom Domain'
3
3
---
4
4
5
-
Enhance the delivery of your media assets by integrating svelte-cloudinary with a [private CDN and/or custom domain](https://cloudinary.com/documentation/advanced_url_delivery_options#private_cdns_and_custom_delivery_hostnames_cnames).
5
+
Enhance the delivery of your media assets by integrating svelte-cloudinary with a [private CDN and/or custom domain](https://cloudinary.com/documentation/advanced_url_delivery_options#private_cdns_and_custom_delivery_hostnames_cnames).
6
6
7
7
:::note
8
8
**Private CDN** and **Custom Domain** features are available exclusively on [Cloudinary's Advanced plan](https://cloudinary.com/pricing).
9
-
:::
9
+
:::
10
10
11
11
## Step-by-Step Configuration
12
12
@@ -23,10 +23,11 @@ npm install svelte-cloudinary
23
23
Create a `.env` file in your project root (if it doesn't exist already) and add the following variables:
Replace your_cloud_name with your actual Cloudinary cloud name and your-custom-domain.com with your custom domain. Read more about [configuring svelte-cloudinary here](https://svelte.cloudinary.dev/config).
31
32
32
33
:::caution
@@ -43,7 +44,7 @@ With the configuration in place, use the `<CldImage />` component to serve image
43
44
</script>
44
45
45
46
<CldImage
46
-
src="<Your Public ID>"
47
+
src="<Your Public ID>"
47
48
alt="Sample Image"
48
49
width="800"
49
50
height="600"
@@ -52,7 +53,7 @@ With the configuration in place, use the `<CldImage />` component to serve image
52
53
53
54
This setup ensures that the image URL follows your custom domain structure:
Learn more about setting up CNAME records on the [Cloudinary docs](https://cloudinary.com/documentation/advanced_url_delivery_options#private_cdns_and_custom_delivery_hostnames_cnames).
59
+
Learn more about setting up CNAME records on the [Cloudinary docs](https://cloudinary.com/documentation/advanced_url_delivery_options#private_cdns_and_custom_delivery_hostnames_cnames).
Copy file name to clipboardExpand all lines: packages/docs/src/content/docs/missing.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,4 +2,4 @@
2
2
title: 'Missing Page!'
3
3
---
4
4
5
-
This page hasn't been ported over to v2 yet - you can check [the GitHub](https://github.com/cloudinary-community/svelte-cloudinary/issues) for updates.
5
+
This page hasn't been ported over to v2 yet - you can check [the GitHub](https://github.com/cloudinary-community/svelte-cloudinary/issues) for updates.
0 commit comments