You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ah...@apache.org on 2025/02/18 14:53:30 UTC
(commons-math) branch master updated: Update MathJax URL
This is an automated email from the ASF dual-hosted git repository.
aherbert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-math.git
The following commit(s) were added to refs/heads/master by this push:
new c32f5efa6 Update MathJax URL
c32f5efa6 is described below
commit c32f5efa6fc03f2e1289af225be4cf19db658a66
Author: Alex Herbert <ah...@apache.org>
AuthorDate: Tue Feb 18 13:44:38 2025 +0000
Update MathJax URL
MathJax is now hosted on Apache servers to comply with the Content
Security Policy (CSP) for project websites.
---
pom.xml | 2 +-
src/site/site.xml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/pom.xml b/pom.xml
index 242733f31..5e4ce39d9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -60,7 +60,7 @@
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<!-- MathJax configuration. See the maven-javadoc-plugin plugin. -->
- <math.mathjax.url>https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js</math.mathjax.url>
+ <math.mathjax.url>https://commons.apache.org/js/mathjax/tex-mml-chtml.js</math.mathjax.url>
<math.commons.numbers.version>1.2</math.commons.numbers.version>
<math.commons.rng.version>1.6</math.commons.rng.version>
<math.commons.geometry.version>1.0</math.commons.geometry.version>
diff --git a/src/site/site.xml b/src/site/site.xml
index 9b01d4738..aa13267fb 100644
--- a/src/site/site.xml
+++ b/src/site/site.xml
@@ -24,7 +24,7 @@
<body>
<head>
- <![CDATA[<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>]]>
+ <![CDATA[<script id="MathJax-script" async src="https://commons.apache.org/js/mathjax/tex-mml-chtml.js"></script>]]>
</head>
<menu name="Math">