Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove backend url prefix from images ? #99

Open
LVannebenne opened this issue Feb 24, 2024 · 0 comments
Open

Remove backend url prefix from images ? #99

LVannebenne opened this issue Feb 24, 2024 · 0 comments

Comments

@LVannebenne
Copy link

Hi !

Is there any way to disable or remove (without creating my own fork of this project) the automatical prefixing of the url ? I have made a proxy on the app side to handle all images with only the path. And having theses full urls by default in the returned html is a bit annoying, actually, my only other solution is to parse the HTML to remove them...

https://github.com/ckeditor/strapi-plugin-ckeditor/blame/f4933ea8774f6c9013d7aac38b24b96250a20ad3/admin/src/components/MediaLib/index.js#L12

I've tried a lot a things, from strapi configuration / variables to adding a CDN plugin, but nothing seems to alter these ones. But maybe i'm missing something ?

Thanks for you help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant