KaTeX: Fix path to KaTeX bundle in production.

This commit is contained in:
Tim Abbott 2017-04-21 14:56:11 -07:00
parent 1883bff243
commit f4a4c23380
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ SOFTWARE.
let katex;
try {
// Attempt to import KaTeX from the production bundle
katex = require("../../serve/min/katex.js");
katex = require("/home/zulip/prod-static/min/katex.js");
} catch (ex) {
// Import KaTeX from node_modules (development environment) otherwise
katex = require("../../node_modules/katex/katex.js");