How to Resolve Asset Loading Issues in Custom Installation Page

Hi Team,

I’m currently developing a global app that supports both support tickets and chat conversations. On the custom installation page, I’m encountering an issue where an image isn’t loading.

The application is built with React, and the image is in the assets folder. I’ve tried loading the image in multiple ways.

When using the custom app, the image doesn’t load with the following route, though it works locally:

src=‘/custom_configs/assets/images/logo.png’

It also fails to load in both environments when using this route:

src=‘/assets/images/logo.png’

Here’s a sample code:

<img
  alt="logo"
  src="/assets/images/logo.png"
  style={{ marginRight: "10px", width: "24px", height: "24px" }}
/>

The image is in the assets folder, but there’s a path issue in the custom app. Any suggestions?

Thanks!

Hi Team,

Is there anything you need from me?

Am using the folder structure for using React on the custom installation page here:

Hi Team,

Are there any upates?

Hi team,

Are there any updates?

Thanks
Anish Karthick