Does loading .Obj and .Mtl through React js needs any mime changes?

I’m trying to load static threejs files through react and displaying the scene in a div. But while application runtime it throws an error mime type unmatched when the control comes loading .obj and .mtl. Have anyone faced this issue before ?

I have done few changes. however, I’m landing up on a different issue. have a look at this

I’m not sure this forum is the right place for your issues. It’s probably more adequate for you to request some help from the React community.