Skip to content

Commit

Permalink
Fix Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
stephencelis committed Jun 9, 2018
1 parent 05fff3f commit 6b41421
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/PointFree/SiteMiddleware.swift
Expand Up @@ -10,7 +10,7 @@ import Tuple
public let siteMiddleware: Middleware<StatusLineOpen, ResponseEnded, Prelude.Unit, Data> =
requestLogger { Current.logger.info($0) }
<<< requireHerokuHttps(allowedInsecureHosts: allowedInsecureHosts)
<<< redirectUnrelatedHosts(isAllowedHost: isAllowed(host:), canonicalHost: canonicalHost)
<<< redirectUnrelatedHosts(isAllowedHost: { isAllowed(host: $0) }, canonicalHost: canonicalHost)
<<< route(router: router, notFound: routeNotFoundMiddleware)
<| currentUserMiddleware
>=> currentSubscriptionMiddleware
Expand Down

0 comments on commit 6b41421

Please sign in to comment.