NFDI4Chem / nmrium-react-wrapper

A wrapper around NMRium react component to enable seamless integration into third-party applications built on any modern framework.
https://nmrium.nmrxiv.org
MIT License
10 stars 3 forks source link

Avoid adding .zip extension to the download url #96

Closed CS76 closed 1 year ago

CS76 commented 1 year ago

https://github.com/NFDI4Chem/nmrium-react-wrapper/blob/84bb1e884e64b0741f39afc8fc4daefa2c08597e/src/hooks/useLoadSpectra.ts#L30

looks like .zip is being appended to the download link URL and this is going to break download links

hamed-musallam commented 1 year ago

Without having an extension the NMRium will not be able to identify the file and handle it in the proper way based on it is extension