jaim23mf / API_eroma2

0 stars 0 forks source link

3D floor editor cannot load gltf file by local filesystem path #6

Closed nicholaslambertucci-ett closed 1 year ago

nicholaslambertucci-ett commented 1 year ago

This issues is related to #1 modelUrl field contains the local filesystem path instead of a the public url

jaim23mf commented 1 year ago

I have made the commit to be able to load this file.

I have found an issue while loading the gltf file , because of CORS policy i cannot load the .bin file.

nicholaslambertucci-ett commented 1 year ago

The problem was the order of app middleware configuration. By moving UseStaticFiles after UseCors in the Configure method of Startup class issue was solved.

0002-fix-cors-problem-on-FloorGltf-.bin-file.patch