Skip to content

Commit

Permalink
Support https urls in live reloading
Browse files Browse the repository at this point in the history
  • Loading branch information
mpscholten committed Sep 4, 2021
1 parent 8fb67f8 commit fab88af
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion IHP/ViewSupport.hs
Original file line number Diff line number Diff line change
Expand Up @@ -254,4 +254,5 @@ liveReloadWebsocketUrl :: (?context :: ControllerContext) => Text
liveReloadWebsocketUrl = ?context
|> FrameworkConfig.getFrameworkConfig
|> get #ideBaseUrl
|> Text.replace "http://" "ws://"
|> Text.replace "http://" "ws://"
|> Text.replace "https://" "wss://"

0 comments on commit fab88af

Please sign in to comment.