Load hooks inside reset-profiles. Fixes #740.
This commit is contained in:
parent
4a6953c881
commit
00ee950ef9
1 changed files with 5 additions and 2 deletions
|
@ -299,7 +299,8 @@
|
|||
[project]
|
||||
(let [certs (mapcat ssl/read-certs (:certificates project))
|
||||
context (ssl/make-sslcontext (into (ssl/default-trusted-certs) certs))]
|
||||
(ssl/register-scheme (ssl/https-scheme context))))
|
||||
(ssl/register-scheme (ssl/https-scheme context))
|
||||
project))
|
||||
|
||||
(defn- reset-profiles
|
||||
"Compute a fresh version of the project map with middleware applied, including
|
||||
|
@ -314,7 +315,9 @@
|
|||
(vary-meta merge {:without-profiles without-profiles
|
||||
:included-profiles include-profiles
|
||||
:excluded-profiles exclude-profiles})
|
||||
(apply-middleware))))
|
||||
(apply-middleware)
|
||||
(load-certificates)
|
||||
(load-hooks))))
|
||||
|
||||
(defn merge-profiles
|
||||
"Compute a fresh version of the project map with the given profiles merged
|
||||
|
|
Loading…
Reference in a new issue