diff --git a/apps/server/package.json b/apps/server/package.json index 44f73942f..a3c588db2 100644 --- a/apps/server/package.json +++ b/apps/server/package.json @@ -44,7 +44,6 @@ "@types/xml2js": "0.4.14", "autocomplete.js": "0.38.1", "boxicons": "2.1.4", - "codemirror": "5.65.19", "express-http-proxy": "2.1.1", "jquery": "3.7.1", "katex": "0.16.22", diff --git a/apps/server/src/routes/assets.ts b/apps/server/src/routes/assets.ts index ec6f8b489..d41b4a4a9 100644 --- a/apps/server/src/routes/assets.ts +++ b/apps/server/src/routes/assets.ts @@ -91,12 +91,6 @@ async function register(app: express.Application) { app.use(`/${assetPath}/node_modules/jquery.fancytree/dist/`, persistentCacheStatic(path.join(nodeModulesDir, "jquery.fancytree/dist/"))); - // CodeMirror - app.use(`/${assetPath}/node_modules/codemirror/lib/`, persistentCacheStatic(path.join(nodeModulesDir, "codemirror/lib/"))); - app.use(`/${assetPath}/node_modules/codemirror/addon/`, persistentCacheStatic(path.join(nodeModulesDir, "codemirror/addon/"))); - app.use(`/${assetPath}/node_modules/codemirror/mode/`, persistentCacheStatic(path.join(nodeModulesDir, "codemirror/mode/"))); - app.use(`/${assetPath}/node_modules/codemirror/keymap/`, persistentCacheStatic(path.join(nodeModulesDir, "codemirror/keymap/"))); - app.use(`/${assetPath}/node_modules/@highlightjs/cdn-assets/`, persistentCacheStatic(path.join(nodeModulesDir, "@highlightjs/cdn-assets/"))); }