mirror of
https://github.com/commercialhaskell/stackage-server.git
synced 2026-01-12 04:08:29 +01:00
Force SSL after metrics middleware (not before)
This commit is contained in:
parent
b945ad449c
commit
d282ade792
@ -75,8 +75,8 @@ makeApplication foundation = do
|
||||
-- Create the WAI application and apply middlewares
|
||||
appPlain <- toWaiAppPlain foundation
|
||||
|
||||
let middleware = forceSSL' (appSettings foundation)
|
||||
. prometheus def
|
||||
let middleware = prometheus def
|
||||
. forceSSL' (appSettings foundation)
|
||||
. logWare
|
||||
. defaultMiddlewaresNoLogging
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user