             (ring.middleware [params :refer (wrap-params)])
             [cheshire.core :refer :all]
             [wikia.common.logger :as log])
-  (:import java.io.FileInputStream))
+  (:import java.io.FileInputStream
+           java.net.InetAddress))
 
 (def wikia-regex #"\w+")
 (def top-dir-regex #"\w")

        (files "/static/")
        (not-found "Unrecognized request path!\n"))
      (wrap-params)
      (exception-catcher)))

(def adjustment-mode-regex #"\w+")
(def thumbnail-mode-regex #"[\w-]+")
(def size-regex #"\d+")
(def hostname (.getHostName (InetAddress/getLocalHost)))



