lundi 24 décembre 2018

Rails server do not load assets present locally to xhtml file rather then requesting the server to load them

Hi my code is like inside x3dom xhtml :

<ImageTexture containerField='diffuseTexture' src='Colorways_xhtml/Light_violet_Back_Colorways.jpg'></ImageTexture> 

when ImageTexture load images It ask the server by making request as:

Loading: /garments/Colorways_xhtml/Light_violet_Back_Colorways.jpg

Is there a way that it should search the file with the current directory like ./Colorways_xhtml/Light_violet_Back_Colorways.jpg instead requesting server for the file

Aucun commentaire:

Enregistrer un commentaire