Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove hidden characters from Custom Domains commands #3934

Merged
merged 2 commits into from
Jan 9, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ import { MarkdownChipRow } from "/src/components/Chip/MarkdownChipRow";

<MarkdownChipRow labels={["Intermediate", "Tutorial"]} />



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
Expand Down Expand Up @@ -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",
Expand All @@ -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 @- <<EOF
-H 'Content-Type: application/json' \
https://icp0.io/registrations \
--data @- <<EOF
{
    "name": "CUSTOM_DOMAIN"
"name": "CUSTOM_DOMAIN"
}
EOF
```
Expand Down Expand Up @@ -180,7 +178,7 @@ by some instructions on [troubleshooting](#troubleshooting).

```sh
curl -sL -X GET \
    https://icp0.io/registrations/REQUEST_ID
https://icp0.io/registrations/REQUEST_ID
```

The status will be one of the following:
Expand Down Expand Up @@ -246,11 +244,11 @@ For example:

```sh
curl -sL -X POST \
    -H 'Content-Type: application/json' \
    https://icp0.io/registrations \
    --data @- <<EOF
-H 'Content-Type: application/json' \
https://icp0.io/registrations \
--data @- <<EOF
{
    "name": "foo.bar.com"
"name": "foo.bar.com"
}
EOF
```
Expand Down Expand Up @@ -303,7 +301,7 @@ first need to update the DNS record of your domain, then notify a boundary node:

```sh
curl -sL -X PUT \
    https://icp0.io/registrations/REQUEST_ID
https://icp0.io/registrations/REQUEST_ID
```

:::info
Expand All @@ -324,7 +322,7 @@ and notify a boundary node:

```sh
curl -sL -X DELETE \
    https://icp0.io/registrations/REQUEST_ID
https://icp0.io/registrations/REQUEST_ID
```

:::info
Expand Down
Loading