tjtanjin / react-chatbotify

A modern React library for creating a flexible and extensible chatbot.
https://react-chatbotify.com
MIT License
148 stars 68 forks source link

[Help] Base 64 Images not rendered in Azure web application #97

Closed miguelisidoro closed 1 month ago

miguelisidoro commented 1 month ago

Hello,

I have a web application deployed to Azure and as you can see the send button and the close button in the header are not shown. After inspecting html, I see that they are base64 encoded images and for some reason, they are not rendered.

image

Anyone knows why they are not rendered when deployed to Azure?

Thanks

tjtanjin commented 1 month ago

Hey @miguelisidoro, that might be something only Azure can answer 😅That said, you can try downloading the assets yourself, then including them via settings. That might just be a viable workaround.

miguelisidoro commented 1 month ago

Hello @tjtanjin ,

Thanks for the response. In which settings do I specify these two images (send and close images)?

Thanks

tjtanjin commented 1 month ago

Hello @tjtanjin ,

Thanks for the response. In which settings do I specify these two images (send and close images)?

Thanks

There's the sendButtonIcon and closeChatIcon. You can find them here:

miguelisidoro commented 1 month ago

Thanks, I will try it out.

miguelisidoro commented 1 month ago

Done, it worked.

I added the images from a public blob storage and it works now :).

Thanks