diff --git a/src/routes/assets.ts b/src/routes/assets.ts index 6117d4bab..70cd4de8f 100644 --- a/src/routes/assets.ts +++ b/src/routes/assets.ts @@ -87,8 +87,6 @@ async function register(app: express.Application) { app.use(`/${assetPath}/node_modules/codemirror/keymap/`, persistentCacheStatic(path.join(srcRoot, "..", "node_modules/codemirror/keymap/"))); app.use(`/${assetPath}/node_modules/@highlightjs/cdn-assets/`, persistentCacheStatic(path.join(srcRoot, "..", "node_modules/@highlightjs/cdn-assets/"))); - - app.use(`/${assetPath}/node_modules/leaflet/dist/`, persistentCacheStatic(path.join(srcRoot, "..", "node_modules/leaflet/dist/"))); } export default {