/*
 * Configuration for file resolver in Magic.
 *
 * Notice, by default we're publicly caching all static files for 5 minutes.
 * This allows proxies and CDN networks to deliver the files directly, without
 * having to touch the Magic server itself.
 */
static_files
   headers
      *
         Cache-Control:public, max-age=31536000

      html
         Cache-Control:no-cache
         Content-Type:text/html

      htm
         Cache-Control:no-cache
         Content-Type:text/html

      css
         Content-Type:text/css
         Access-Control-Allow-Origin:*

      js
         Content-Type:application/javascript

      mjs
         Content-Type:application/javascript

      json
         Content-Type:application/json

      map
         Content-Type:application/json

      txt
         Content-Type:text/plain

      md
         Content-Type:text/markdown

      xml
         Content-Type:application/xml

      csv
         Content-Type:text/csv

      tsv
         Content-Type:text/tab-separated-values

      pdf
         Content-Type:application/pdf

      zip
         Content-Type:application/zip

      svg
         Content-Type:image/svg+xml

      png
         Content-Type:image/png

      jpg
         Content-Type:image/jpeg

      jpeg
         Content-Type:image/jpeg

      gif
         Content-Type:image/gif

      webp
         Content-Type:image/webp

      avif
         Content-Type:image/avif

      ico
         Content-Type:image/x-icon

      woff
         Cache-Control:public, max-age=31536000
         Content-Type:font/woff
         Access-Control-Allow-Origin:*

      woff2
         Cache-Control:public, max-age=31536000
         Content-Type:font/woff2
         Access-Control-Allow-Origin:*

      ttf
         Cache-Control:public, max-age=31536000
         Content-Type:font/ttf
         Access-Control-Allow-Origin:*

      otf
         Cache-Control:public, max-age=31536000
         Content-Type:font/otf
         Access-Control-Allow-Origin:*

      eot
         Cache-Control:public, max-age=31536000
         Content-Type:application/vnd.ms-fontobject
         Access-Control-Allow-Origin:*

      wasm
         Content-Type:application/wasm

      mp4
         Content-Type:video/mp4

      webm
         Content-Type:video/webm

      mp3
         Content-Type:audio/mpeg

      wav
         Content-Type:audio/wav

      ogg
         Content-Type:audio/ogg

      doc
         Content-Type:application/msword

      docx
         Content-Type:application/vnd.openxmlformats-officedocument.wordprocessingml.document

      dot
         Content-Type:application/msword

      odt
         Content-Type:application/vnd.oasis.opendocument.text

      ods
         Content-Type:application/vnd.oasis.opendocument.spreadsheet

      odp
         Content-Type:application/vnd.oasis.opendocument.presentation

      odg
         Content-Type:application/vnd.oasis.opendocument.graphics

      rtf
         Content-Type:application/rtf

      xls
         Content-Type:application/vnd.ms-excel

      xlsx
         Content-Type:application/vnd.openxmlformats-officedocument.spreadsheetml.sheet

      xla
         Content-Type:application/vnd.ms-excel

      xlb
         Content-Type:application/vnd.ms-excel

      xlc
         Content-Type:application/vnd.ms-excel

      xlm
         Content-Type:application/vnd.ms-excel

      xlt
         Content-Type:application/vnd.ms-excel

      xlw
         Content-Type:application/vnd.ms-excel

      ppt
         Content-Type:application/vnd.ms-powerpoint

      pptx
         Content-Type:application/vnd.openxmlformats-officedocument.presentationml.presentation

      pot
         Content-Type:application/vnd.ms-powerpoint

      pps
         Content-Type:application/vnd.ms-powerpoint

      ppa
         Content-Type:application/vnd.ms-powerpoint

      pwz
         Content-Type:application/vnd.ms-powerpoint

      wiz
         Content-Type:application/vnd.ms-powerpoint

      pages
         Content-Type:application/vnd.apple.pages

      numbers
         Content-Type:application/vnd.apple.numbers

      key
         Content-Type:application/vnd.apple.keynote
spa_enabled:true
