kodadot/nft-gallery

View on GitHub
libs/static/src/mimeTypes.ts

Summary

Maintainability
A
2 hrs
Test Coverage
export const mimeTypes: { [key: string]: string } = {
  bmp: 'image/bmp',
  gif: 'image/gif',
  jpg: 'image/jpeg',
  jpeg: 'image/jpeg',
  png: 'image/png',
  svg: 'image/svg+xml',
  tiff: 'image/tiff',
  webp: 'image/webp',
  mp4: 'video/mp4',
  ogv: 'video/ogg',
  mov: 'video/quicktime',
  qt: 'video/quicktime',
  webm: 'video/webm',
  glb: 'model/gltf-binary',
  gltf: 'model/gltf+json',
  flac: 'audio/flac',
  mp3: 'audio/mpeg',
  json: 'application/json',
}