Skip to content

Commit

Permalink
Enforce HTTP
Browse files Browse the repository at this point in the history
  • Loading branch information
supersven committed Feb 20, 2023
1 parent 2cb3b9c commit 2659bbf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions services/brig/src/Brig/API/Public/Swagger.hs
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ adjustSwaggerForInternalEndpoint service examplePort swagger =
& S.host ?~ S.Host "localhost" (Just examplePort)
& S.allOperations . S.tags <>~ tag
-- Enforce HTTP as the services themselves don't understand HTTPS
& S.schemes ?~ [S.Http]
& S.allOperations . S.schemes ?~ [S.Http]
where
tag :: InsOrdSet.InsOrdHashSet S.TagName
Expand Down

0 comments on commit 2659bbf

Please sign in to comment.