diff --git a/bin/copy-dist.ts b/bin/copy-dist.ts index 7203b3496..bdb4e311e 100644 --- a/bin/copy-dist.ts +++ b/bin/copy-dist.ts @@ -89,7 +89,6 @@ const copy = async () => { "node_modules/jsplumb/dist/", "node_modules/vanilla-js-wheel-zoom/dist/", "node_modules/mark.js/dist/", - "node_modules/knockout/build/output/", "node_modules/normalize.css/", "node_modules/jquery.fancytree/dist/", "node_modules/bootstrap/dist/", diff --git a/src/routes/assets.ts b/src/routes/assets.ts index a46801559..15af7cad3 100644 --- a/src/routes/assets.ts +++ b/src/routes/assets.ts @@ -88,8 +88,6 @@ async function register(app: express.Application) { // Deprecated, https://www.npmjs.com/package/autocomplete.js?activeTab=readme app.use(`/${assetPath}/node_modules/autocomplete.js/dist/`, persistentCacheStatic(path.join(srcRoot, "..", "node_modules/autocomplete.js/dist/"))); - app.use(`/${assetPath}/node_modules/knockout/build/output/`, persistentCacheStatic(path.join(srcRoot, "..", "node_modules/knockout/build/output/"))); - app.use(`/${assetPath}/node_modules/normalize.css/`, persistentCacheStatic(path.join(srcRoot, "..", "node_modules/normalize.css/"))); app.use(`/${assetPath}/node_modules/jquery.fancytree/dist/`, persistentCacheStatic(path.join(srcRoot, "..", "node_modules/jquery.fancytree/dist/")));