decap-cms
decap-cms copied to clipboard
Copy Path does not reflect the real path of the object in the media folder
In the media box there is a useful Copy Path button. So, if someone adds a PDF to the media library and they want a link to it, then the Copy Path
could be a useful thing. However, the issue is that the path copied starts uploads when it should start /uploads. Of course I can get my user to add the / but I wonder why this happening since the backend specifically says:
media_folder: "/uploads"
Steps to reproduce the behavior. For example:
- Go to 'Media'
- Select any image or file
- Click on Copy Path
- Use this path in a link
- The link is wrong because the path should reflect the path that is specified in the backend
Screenshots