Skip to content

Commit c32f5ef

Browse files
committed
Update MathJax URL
MathJax is now hosted on Apache servers to comply with the Content Security Policy (CSP) for project websites.
1 parent 02cdccf commit c32f5ef

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
<maven.compiler.source>1.8</maven.compiler.source>
6161
<maven.compiler.target>1.8</maven.compiler.target>
6262
<!-- MathJax configuration. See the maven-javadoc-plugin plugin. -->
63-
<math.mathjax.url>https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js</math.mathjax.url>
63+
<math.mathjax.url>https://commons.apache.org/js/mathjax/tex-mml-chtml.js</math.mathjax.url>
6464
<math.commons.numbers.version>1.2</math.commons.numbers.version>
6565
<math.commons.rng.version>1.6</math.commons.rng.version>
6666
<math.commons.geometry.version>1.0</math.commons.geometry.version>

src/site/site.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
<body>
2626
<head>
27-
<![CDATA[<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>]]>
27+
<![CDATA[<script id="MathJax-script" async src="https://commons.apache.org/js/mathjax/tex-mml-chtml.js"></script>]]>
2828
</head>
2929

3030
<menu name="Math">

0 commit comments

Comments
 (0)