BUGFIX: Fix mathjax path on dev server. (#1501)

This commit is contained in:
Tom Prince
2024-07-19 18:13:42 -06:00
committed by GitHub
parent dc93d166f0
commit d1f190c894
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -385,7 +385,7 @@ export function GameRoot(): React.ReactElement {
}
return (
<MathJaxContext version={3} src={"dist/mathjax/tex-chtml.js"}>
<MathJaxContext version={3} src={__webpack_public_path__ + "mathjax/tex-chtml.js"}>
<ErrorBoundary key={errorBoundaryKey} softReset={softReset}>
<BypassWrapper content={bypassGame ? mainPage : null}>
<HistoryProvider>