Skip to content

Commit

Permalink
Fixed actions in the IDE not working because request body is consumed…
Browse files Browse the repository at this point in the history
… twice
  • Loading branch information
mpscholten committed Mar 15, 2024
1 parent 042b091 commit e73425a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions IHP/IDE/ToolServer.hs
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,6 @@ startToolServer' port isDebugMode = do
let toolServerApplication = ToolServerApplication { devServerContext = ?context }
let application :: Wai.Application = \request respond -> do
let ?applicationContext = applicationContext
requestContext <- ControllerSupport.createRequestContext applicationContext request respond
let ?context = requestContext
frontControllerToWAIApp @ToolServerApplication @AutoRefresh.AutoRefreshWSApp (\app -> app) toolServerApplication staticApp request respond

let openAppUrl = openUrl ("http://localhost:" <> tshow port <> "/")
Expand Down

0 comments on commit e73425a

Please sign in to comment.