Skip to content

Commit b961697

Browse files
shaonianzhentangitee-org
authored andcommitted
!7 更换cdn
Merge pull request !7 from shaonianzhentan/dev
2 parents 404f417 + f192f69 commit b961697

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

custom_components/ha_file_explorer/www/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@
1414
<div id="app"></div>
1515
<script>
1616
function aceLoad() {
17-
const cdn = 'https://cdnjs.cloudflare.com/ajax/libs/ace/1.43.2/'
17+
const cdn = 'https://mirrors.sustech.edu.cn/cdnjs/ajax/libs/ace/1.43.2/'
1818
ace.config.set('basePath', cdn);
1919
ace.config.set('modePath', cdn);
2020
ace.config.set('themePath', cdn);
2121
}
2222
</script>
23-
<script src="https://cdnjs.cloudflare.com/ajax/libs/ace/1.43.2/ace.min.js" onload="aceLoad()" async="async"></script>
23+
<script src="https://mirrors.sustech.edu.cn/cdnjs/ajax/libs/ace/1.43.2/ace.min.js" onload="aceLoad()" async="async"></script>
2424
</body>
2525

2626
</html>

frontend/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@
1313
<script type="module" src="/src/main.ts"></script>
1414
<script>
1515
function aceLoad() {
16-
const cdn = 'https://cdnjs.cloudflare.com/ajax/libs/ace/1.43.2/'
16+
const cdn = 'https://mirrors.sustech.edu.cn/cdnjs/ajax/libs/ace/1.43.2/'
1717
ace.config.set('basePath', cdn);
1818
ace.config.set('modePath', cdn);
1919
ace.config.set('themePath', cdn);
2020
}
2121
</script>
22-
<script src="https://cdnjs.cloudflare.com/ajax/libs/ace/1.43.2/ace.min.js" onload="aceLoad()" async="async"></script>
22+
<script src="https://mirrors.sustech.edu.cn/cdnjs/ajax/libs/ace/1.43.2/ace.min.js" onload="aceLoad()" async="async"></script>
2323
</body>
2424

2525
</html>

0 commit comments

Comments
 (0)