Closed thperret closed 7 years ago
Forgot to say that I temporarily fixed it with a ugly hack: in routes/editorapi.js#L266 I added:
src = src.replace('http://', 'https://');
Thanks for reporting. This should be fixed now with 277b2ca.
Hi,
When uploading images through GrapeJs editor, it sometimes upload them using
http://
scheme instead ofhttps://
configured one. The very weird thing is that when I quit the editor and come back to it, the first image uploaded it generally uploaded throughhttp://
then throughhttp://
. This give a500
error since GrapeJs tries then to convert the image using ImageMagick with thehttp://
scheme which is redirected (and not followed by ImageMagick).example of error log:
I'm running Mailtrain with docker using the official Dockerfile with version 1.24.0 with a nginx reverse proxy.
Nginx configuration: