Skip to content

Commit 4e5c081

Browse files
authored
docs: replace references to Skypack CDN with esm.sh (#494)
1 parent bd15032 commit 4e5c081

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@ openssl pkcs8 -topk8 -inform PEM -outform PEM -nocrypt -in private-key.pem -out
5353

5454
The OAuth APIs to create user-to-server tokens cannot be used because they do not have CORS enabled.
5555

56-
If you know what you are doing, load `@octokit/auth-app` directly from [cdn.skypack.dev](https://cdn.skypack.dev)
56+
If you know what you are doing, load `@octokit/auth-app` directly from [esm.sh](https://esm.sh)
5757

5858
```html
5959
<script type="module">
60-
import { createAppAuth } from "https://cdn.skypack.dev/@octokit/auth-app";
60+
import { createAppAuth } from "https://esm.sh/@octokit/auth-app";
6161
</script>
6262
```
6363

@@ -206,12 +206,12 @@ openssl pkcs8 -topk8 -inform PEM -outform PEM -nocrypt -in private-key.pem -out
206206

207207
The OAuth APIs to create user-to-server tokens cannot be used because they do not have CORS enabled.
208208

209-
If you know what you are doing, load `@octokit/auth-app` and `@octokit/core` (or a compatible module) directly from [cdn.skypack.dev](https://cdn.skypack.dev)
209+
If you know what you are doing, load `@octokit/auth-app` and `@octokit/core` (or a compatible module) directly from [esm.sh](https://esm.sh)
210210

211211
```html
212212
<script type="module">
213-
import { createAppAuth } from "https://cdn.skypack.dev/@octokit/auth-app";
214-
import { Octokit } from "https://cdn.skypack.dev/@octokit/core";
213+
import { createAppAuth } from "https://esm.sh/@octokit/auth-app";
214+
import { Octokit } from "https://esm.sh/@octokit/core";
215215
</script>
216216
```
217217

0 commit comments

Comments
 (0)