Good day.
I cannot load any *.gltf files (part of 3D visualisation), permanent 404 error. Can somebody tell me necessary steps to register this type of files?
Thank you in advance,
Serge
var options = new StaticFileOptions
{
ContentTypeProvider = new FileExtensionContentTypeProvider()
};
((FileExtensionContentTypeProvider)options.ContentTypeProvider).Mappings.Add(
new KeyValuePair<string, string>(".gltf", "model/gltf+json"));
application.UseStaticFiles(options);