For example, when drag'n'drop a file.nii.gz compressed nifti file into the volview website, it cannot be opened.

I added some debug console log and see the fileType is being resolved to application/gzip, which is incorrect.

By looking up the mimeTypes.ts file I think it should be application/vnd.unknown.nifti-1.
I think the *.gz file names should be handled specifically in the updateFileMimeType.ts to correctly resolve the mime type.
Below is my quick fix for the nii.gz file:

My implementation is not very comprehensive. Hope this can be fixed by volview offical team, thanks!