Skip to content
Permalink
Browse files

moved webjars middleware to be wrapped inside defaults

  • Loading branch information...
yogthos committed Aug 4, 2015
1 parent b934b43 commit 967973b787e2e85d973945197ecd4112179f5eb7
Showing with 2 additions and 2 deletions.
  1. +1 −1 project.clj
  2. +1 −1 src/leiningen/new/luminus/core/src/middleware.clj
@@ -1,4 +1,4 @@
(defproject luminus/lein-template "2.9.8.7"
(defproject luminus/lein-template "2.9.8.8"
:description "a template for creating Luminus applications"
:url "https://github.com/yogthos/luminus-template"
:license {:name "MIT License"
@@ -74,10 +74,10 @@
wrap-dev<% if auth-middleware-required %>
wrap-auth<% endif %>
wrap-formats
wrap-webjars
(wrap-defaults
(-> site-defaults
(assoc-in [:security :anti-forgery] false)
(assoc-in [:session :store] (ttl-memory-store (* 60 30)))))
wrap-webjars
wrap-servlet-context
wrap-internal-error))

0 comments on commit 967973b

Please sign in to comment.
You can’t perform that action at this time.