imodeljs / itwin-viewer

Monorepo that contains the iTwin Viewer npm package and its related packages
MIT License
15 stars 13 forks source link

Generic Error SVG Does not respect ITWIN_VIEWER_HOME Environment Variable or PUBLIC_URL #90

Open aderderian opened 3 years ago

aderderian commented 3 years ago

image

Generic Error SVG Does not respect ITWIN_VIEWER_HOME Environment Variable or PUBLIC_URL. I have set both.

kckst8 commented 3 years ago

Hi @aderderian,

Can you provide a little more info on what you are attempting to accomplish? Can you not import the svg?

aderderian commented 3 years ago

Hello,

Sure. I am hosting the output of the Itwinviewer app from /build directory (straight copy) in my own webapp. It looks like the path for the Generic Error SVG is not leveraging the root path like other items are. So the result is the construction image not loading.