mirror of
https://github.com/overleaf/overleaf.git
synced 2025-01-28 23:32:26 +00:00
Merge pull request #3733 from overleaf/tm-mathjax-query-param
Add query parameter to MathJax script path GitOrigin-RevId: c4f17505a23f8de4f5f5c7e62f74db930a029c22
This commit is contained in:
parent
6eaf4abe46
commit
695561aa01
1 changed files with 2 additions and 1 deletions
|
@ -127,7 +127,8 @@ module.exports = function(webRouter, privateApiRouter, publicApiRouter) {
|
|||
|
||||
res.locals.mathJaxPath = `/js/libs/mathjax/MathJax.js?${querystring.stringify(
|
||||
{
|
||||
config: 'TeX-AMS_HTML,Safe'
|
||||
config: 'TeX-AMS_HTML,Safe',
|
||||
v: require('mathjax/package.json').version
|
||||
}
|
||||
)}`
|
||||
|
||||
|
|
Loading…
Reference in a new issue