From 725cd11cc78b798c4b51cec305c8fe516f2e232a Mon Sep 17 00:00:00 2001 From: Charis <26616127+charislam@users.noreply.github.com> Date: Thu, 10 Apr 2025 14:40:56 -0400 Subject: [PATCH] docs: custom domains (#34914) Add a note about custom domain compatibility for Edge Functions and Storage in response to customer inquiry about this. Also snuck in a removal of the inline video since we're moving towards taking these out of all the docs pages. --- .../docs/content/guides/platform/custom-domains.mdx | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/apps/docs/content/guides/platform/custom-domains.mdx b/apps/docs/content/guides/platform/custom-domains.mdx index 0a5258a8138..90f577dc6fb 100644 --- a/apps/docs/content/guides/platform/custom-domains.mdx +++ b/apps/docs/content/guides/platform/custom-domains.mdx @@ -2,20 +2,11 @@ id: 'custom-domains' title: 'Custom Domains' description: 'Use a custom domain instead of the default Supabase domain for your project.' -video: 'https://www.youtube.com/v/6rcGnW_Mh-0' +tocVideo: '6rcGnW_Mh-0' --- Custom domains allow you to present a branded experience to your users. These are available as an [add-on for projects on a paid plan](/dashboard/project/_/settings/addons?panel=customDomain). -
- -
- There are two types of domains supported by Supabase: 1. Custom domains, where you use a domain such as `api.example.com` instead of the project's default domain. @@ -136,6 +127,8 @@ import { createClient } from '@supabase/supabase-js' const supabase = createClient('https://api.example.com', 'public-anon-key') ``` +Similarly, your Edge Functions will now be available at `https://api.example.com/functions/v1/your_function_name`, and your Storage objects at `https://api.example.com/storage/v1/object/public/your_file_path.ext`. + ### Remove a custom domain Removing a custom domain may cause some issues when using Supabase Auth with OAuth or SAML. You may have to reverse the changes made in the _[Prepare to activate your domain](#prepare-to-activate-your-domain)_ step above.