From ead131d3f6ec2ec9f520f3935f6367100010b036 Mon Sep 17 00:00:00 2001
From: Jessie Mongeon <133128541+jessiemongeon1@users.noreply.github.com>
Date: Wed, 8 Jan 2025 13:56:05 -0600
Subject: [PATCH] Update using-custom-domains.mdx
---
.../custom-domains/using-custom-domains.mdx | 26 +++++++++----------
1 file changed, 12 insertions(+), 14 deletions(-)
diff --git a/docs/developer-docs/web-apps/custom-domains/using-custom-domains.mdx b/docs/developer-docs/web-apps/custom-domains/using-custom-domains.mdx
index ec7800d8fe..55c6146769 100644
--- a/docs/developer-docs/web-apps/custom-domains/using-custom-domains.mdx
+++ b/docs/developer-docs/web-apps/custom-domains/using-custom-domains.mdx
@@ -8,8 +8,6 @@ import { MarkdownChipRow } from "/src/components/Chip/MarkdownChipRow";
-
-
By default, all canisters on the Internet Computer are accessible through the
domain `icp0.io` and their canister ID. In addition to that default domain, one
can also make a canister accessible under a custom domain using one of the
@@ -119,7 +117,7 @@ by some instructions on [troubleshooting](#troubleshooting).
Configure the `.well-known` directory to be included by writing the following
configuration into the `.ic-assets.json`-file:
- ```
+ ```json
[
{
"match": ".well-known",
@@ -134,11 +132,11 @@ by some instructions on [troubleshooting](#troubleshooting).
```sh
curl -sL -X POST \
- -H 'Content-Type: application/json' \
- https://icp0.io/registrations \
- --data @- <