The base-prefix computation produced '//' when the loader is served from the top-level /extensions mount (the standard case), turning the editor import into '//<pack>/index.js'. Browsers parse that as a protocol-relative URL and resolve '<pack>' as a DNS hostname, so the editor entry never loaded: console shows 'Failed to load resource: net::ERR_NAME_NOT_RESOLVED moxie-multimedia/index.js' followed by [vite:preloadError]. Only sub-path reverse-proxy deployments accidentally worked. Base is now exactly '/' when there is no sub-path prefix, and '<prefix>/' otherwise. |
||
|---|---|---|
| .. | ||
| preview_override | ||
| editor-loader.js | ||
| utility.js | ||