Modify default /upload route path for upload plugin


Is the a way to change the default route path for the upload plugin …
./upload … -> './custompathforupload

How to bypass this default route ?


You can’t really modify the default path, since the path is equal to plugin name:

strapi-plugin-upload -> /upload

But there is a workaround for this, you can use nginx/apache to pass location /custompatforupload to /upload.

Can I ask you why do you want to change the default upload route? Maybe there is no need to do that.