Blinko's frontend passes cdn:"" to the Vditor editor, expecting its
runtime assets (lute.min.js, highlight.js CSS, etc.) to be served
locally at /dist/js/... and /dist/css/...
In the Docker image these files exist in the container, but the
baremetal install/update never copies them from node_modules to the
public directory, resulting in 404s and a completely missing editor UI.
Copy vditor's dist/{js,css,images} into dist/public/dist/ after
build:web so they are served by Express's static middleware.
2.4 KiB
2.4 KiB