From fab88afeda62de983b9260e2edde76f4beba2765 Mon Sep 17 00:00:00 2001 From: Marc Scholten Date: Sat, 4 Sep 2021 16:23:15 +0200 Subject: [PATCH] Support https urls in live reloading --- IHP/ViewSupport.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/IHP/ViewSupport.hs b/IHP/ViewSupport.hs index 1bf0c2192..89b81eb26 100644 --- a/IHP/ViewSupport.hs +++ b/IHP/ViewSupport.hs @@ -254,4 +254,5 @@ liveReloadWebsocketUrl :: (?context :: ControllerContext) => Text liveReloadWebsocketUrl = ?context |> FrameworkConfig.getFrameworkConfig |> get #ideBaseUrl - |> Text.replace "http://" "ws://" \ No newline at end of file + |> Text.replace "http://" "ws://" + |> Text.replace "https://" "wss://" \ No newline at end of file