Closed ianyoung closed 1 year ago
Whenever I set the basePath in plugins.js it ignores what I enter and uploads to / instead:
basePath
plugins.js
/
basePath: "/uploads",
Uploads to /:
It looks like it may be this line which is replacing things:
const basePath = `${config.basePath}/`.replace(/^\/+/, '');
This turned out to be a an issue elsewhere. I've tested again and the basePath does seem to be working as expected. This issue can be closed.
Whenever I set the
basePath
inplugins.js
it ignores what I enter and uploads to/
instead:plugins.js
Uploads to
/
:It looks like it may be this line which is replacing things: