voidlabs / mosaico

Mosaico - Responsive Email Template Editor
https://mosaico.io
GNU General Public License v3.0
1.71k stars 504 forks source link

Issue while uploading images in my localhost #499

Closed godara-ravi closed 5 years ago

godara-ravi commented 5 years ago

Hi there,

I am facing the issue while uploading an image in my localhost. Maybe i am not using exact path but i am not sure about it. In console i am getting the error while uploading an image like this:

bago commented 5 years ago

Either you didn't deploy a backend at that URL or you didn't configure the backend url in the Mosaico initialization.

godara-ravi commented 5 years ago

I didn't start "grunt" but all are working fine, just image uploading not working. So, should i need to run command "grunt" or without this it will working fine?

Regards, Ravi Kumar Web Developer

On Mon, Jan 28, 2019 at 3:36 PM Bago notifications@github.com wrote:

Either you didn't deploy a backend at that URL or you didn't configure the backend url in the Mosaico initialization.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/voidlabs/mosaico/issues/499#issuecomment-458067701, or mute the thread https://github.com/notifications/unsubscribe-auth/As2Q63S-q5YbEXGVlqhA317vBKq5UDjYks5vHsuTgaJpZM4aSiIy .

bago commented 5 years ago

Well, uploading is something that needs a backend. If you don't use the development backend (that is started at the end of the "grunt" command) then I guess you're using your own backend. Either it is broken or it is misplaced/misconfigured.

https://github.com/voidlabs/mosaico/wiki/Serving-Mosaico

godara-ravi commented 5 years ago

@bago yes, there was issue with backend configuration. I am using my own php backend. Thanks for sorting this out!