Skip to content

Commit 0f0ed8f

Browse files
authored
[fix] Polyfill CDN
1 parent 352765e commit 0f0ed8f

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

source/index.html

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,15 @@
1111
<meta name="author" content="[email protected]" />
1212

1313
<link rel="manifest" href="index.webmanifest" />
14-
<script src="https://cdn.jsdelivr.net/npm/[email protected]/pwacompat.min.js"></script>
14+
<script src="https://polyfill.kaiyuanshe.cn/feature/PWAManifest.js"></script>
1515
<link
1616
rel="stylesheet"
17-
href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css"
17+
href="https://unpkg.com/bootstrap@4.6.2/dist/css/bootstrap.min.css"
1818
/>
19-
<script
20-
crossorigin
21-
src="https://polyfill.app/api/polyfill?features=es.string.match-all,es.array.flat,es.object.from-entries,regenerator-runtime"
22-
></script>
23-
<script src="https://cdn.jsdelivr.net/npm/@webcomponents/[email protected]/custom-elements-es5-adapter.js"></script>
24-
<script src="https://cdn.jsdelivr.net/npm/@webcomponents/[email protected]/webcomponents-bundle.min.js"></script>
19+
<script src="https://polyfill.kaiyuanshe.cn/feature/ECMAScript.js"></script>
20+
<script src="https://polyfill.kaiyuanshe.cn/feature/Regenerator.js"></script>
21+
<script src="https://unpkg.com/@webcomponents/[email protected]/custom-elements-es5-adapter.js"></script>
22+
<script src="https://unpkg.com/@webcomponents/[email protected]/webcomponents-bundle.js"></script>
2523

2624
<script src="index.tsx" async></script>
2725
</head>

0 commit comments

Comments
 (0)