        :public-folder public-folder
        :virtual-folder virtual-folder
        :file-path (str root "/file/")
-       :file-extensions (merge default-file-extension-to-mime-type file-extensions)})
+       :file-extensions (merge mime-type/default-mime-types file-extensions)})
     (printf "Initialized asset access at virtual folder %s\n" root)
     (wrap-exception-handling
       (routes

(defn get-content-type [asset]
  (let [name (file-name asset)
        dotx (.lastIndexOf name ".")
        extension (keyword (.substring name (inc dotx)))
        content-type (-> @asset-configuration :file-extension extension)]
    (or content-type "text/plain")))

(defn generic-asset-handler

    [java.io File FileInputStream BufferedInputStream InputStream]
    [java.util Calendar Date])
  (:require
    [ring.util [response :as ring] [mime-type :as mime-type]]
    [ring.middleware.file-info :as file-info])
  (:use
    [compojure core]
