Skip to content

Commit e1d3abe

Browse files
authored
chore: upgrade mathjax version (#1100)
1 parent 6b09068 commit e1d3abe

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

apps/web/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
</script>
104104
<script
105105
id="MathJax-script"
106-
src="https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/npm/mathjax@3/es5/tex-svg.js"
106+
src="https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/npm/mathjax@4.0.0/tex-svg.js"
107107
></script>
108108
<script src="https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/npm/mermaid@11/dist/mermaid.min.js"></script>
109109
<script type="module" src="/src/main.ts"></script>

scripts/download-utools-libs.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const libsDir = path.join(rootDir, `apps`, `web`, `public`, `static`, `libs`)
1616
const resources = [
1717
{
1818
name: `MathJax`,
19-
url: `https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/npm/mathjax@3/es5/tex-svg.js`,
19+
url: `https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/npm/mathjax@4.0.0/tex-svg.js`,
2020
output: path.join(libsDir, `mathjax`, `tex-svg.js`),
2121
},
2222
{

0 commit comments

Comments
 (0)