Skip to content

Commit a5515b4

Browse files
committed
mathjax依赖
1 parent 6e7aa80 commit a5515b4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/server.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,8 @@ module.exports.start = function(port, pptDir, host, argvObj) {
143143
function startApp(port, dir, host, argvObj) {
144144
host = host || '0.0.0.0';
145145
var staticDir = path.normalize(path.join(__dirname, '../assets')) + path.sep;
146-
var nodeModules = path.normalize(path.join(require.resolve('mathjax/package.json'),'../..')) + path.sep;
146+
//这里需要注意connect依赖不需要就要删除
147+
var nodeModules = path.normalize(path.join(require.resolve('connect/package.json'),'../..')) + path.sep;
147148
var pptDir = dir;
148149

149150
var now = Date.now();

0 commit comments

Comments
 (0)