Skip to content

Commit c41110c

Browse files
authored
Merge pull request #267 from mathjax/issue212
[main] simplify MathJaxPath
2 parents 2045a3f + 2d17c6f commit c41110c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/main.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ var STATE = {
8181
//
8282
// The MathJaxPath is normaized against file:/// so that Windows paths are correct
8383
//
84-
var MathJaxPath = url.resolve("file:///","file:"+require.resolve('mathjax/unpacked/MathJax'));
84+
var MathJaxPath = url.resolve("file:///","file:"+require.resolve('mathjax'));
8585
var MathJaxConfig; // configuration for when starting MathJax
8686
var MathJax; // filled in once MathJax is loaded
8787
var serverState = STATE.STOPPED; // nothing loaded yet

0 commit comments

Comments
 (0)