jamespot-user-api
    Preparing search index...

    Function getMimetypeFromName

    • This resolve bad/missing (mostly application/octet-stream) mimetype with the file name. If this doesn't match any extension. Return application/octet-stream to get neutral file display

      Parameters

      • name: string

      Returns string