Skip to content

Commit 5966955

Browse files
committed
fix: recommend cloudflare vs polyfill.io
1 parent aceee58 commit 5966955

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ console.log('M/D/YY', dayjs().format('M/D/YY'));
4747
This is the solution for you if you're just using `<script>` tags everywhere!
4848

4949
```html
50-
<script src="https://polyfill.io/v3/polyfill.min.js?features=Promise"></script>
50+
<script src="https://cdnjs.cloudflare.com/polyfill/v3/polyfill.min.js?features=Promise"></script>
5151
<script src="https://unpkg.com/dayjs-with-plugins"></script>
5252
<script type="text/javascript">
5353
(function() {
@@ -58,10 +58,10 @@ This is the solution for you if you're just using `<script>` tags everywhere!
5858

5959
##### Required Browser Features
6060

61-
We recommend using <https://polyfill.io> (specifically with the bundle mentioned in [VanillaJS](#vanillajs) above):
61+
We recommend using <https://cdnjs.cloudflare.com/polyfill> (specifically with the bundle mentioned in [VanillaJS](#vanillajs) above):
6262

6363
```html
64-
<script src="https://polyfill.io/v3/polyfill.min.js?features=Promise"></script>
64+
<script src="https://cdnjs.cloudflare.com/polyfill/v3/polyfill.min.js?features=Promise"></script>
6565
```
6666

6767
* Promise is not supported in op\_mini all

0 commit comments

Comments
 (0)