Skip to content

Commit

Permalink
Fix mime type of resouces
Browse files Browse the repository at this point in the history
  • Loading branch information
diogok committed Dec 13, 2016
1 parent 85453ef commit e0446cf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/rrapp_ui/web.clj
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
(:use ring.middleware.keyword-params)
(:use ring.middleware.resource)
(:use ring.middleware.content-type)
(:use ring.middleware.not-modified)
(:use ring.middleware.content-type)
(:use ring.middleware.reload)
(:use ring.middleware.gzip)
(:use ring.middleware.cors)
Expand Down Expand Up @@ -42,6 +44,8 @@
(-> #'router
(wrap-gzip)
(wrap-resource "public")
(wrap-content-type)
(wrap-not-modified)
(wrap-cors #".*")
(wrap-keyword-params)
(wrap-params)
Expand Down

0 comments on commit e0446cf

Please sign in to comment.