From dd6ca58e26a217e79261e0d6f2f597804f5b558a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20R=C3=A4tzel?= Date: Wed, 21 Jun 2023 12:38:57 +0000 Subject: [PATCH] Switch backend to new automatic HTTP response compression See: + https://github.com/elm-time/elm-time/commit/75e2c31feeeefa7be5188edb8422f884e5e382a6 + https://github.com/elm-time/elm-time/commit/feceb3a2f01141e88797097c333c8573a09efabb --- implement/alternate-ui/source/src/Backend/Main.elm | 6 +++--- implement/alternate-ui/source/src/Common/App.elm | 2 +- .../source/src/CompilationInterface/ElmMake.elm | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/implement/alternate-ui/source/src/Backend/Main.elm b/implement/alternate-ui/source/src/Backend/Main.elm index c0ec894..82259ee 100644 --- a/implement/alternate-ui/source/src/Backend/Main.elm +++ b/implement/alternate-ui/source/src/Backend/Main.elm @@ -157,13 +157,13 @@ updateForHttpRequestEventWithoutVolatileProcessMaintenance httpRequestEvent stat httpResponseOkWithBodyAsBase64 (Just (if enableInspector then - CompilationInterface.ElmMake.elm_make____src_Frontend_Main_elm.debug.gzip.base64 + CompilationInterface.ElmMake.elm_make____src_Frontend_Main_elm.debug.base64 else - CompilationInterface.ElmMake.elm_make____src_Frontend_Main_elm.gzip.base64 + CompilationInterface.ElmMake.elm_make____src_Frontend_Main_elm.base64 ) ) - (contentHttpHeaders { contentType = "text/html", contentEncoding = Just "gzip" }) + (contentHttpHeaders { contentType = "text/html", contentEncoding = Nothing }) |> continueWithStaticHttpResponse in case httpRequestEvent.request.uri |> Url.fromString |> Maybe.andThen routeFromUrl of diff --git a/implement/alternate-ui/source/src/Common/App.elm b/implement/alternate-ui/source/src/Common/App.elm index dcc2548..25efbb5 100644 --- a/implement/alternate-ui/source/src/Common/App.elm +++ b/implement/alternate-ui/source/src/Common/App.elm @@ -3,4 +3,4 @@ module Common.App exposing (versionId) versionId : String versionId = - "2023-04-25" + "2023-06-21" diff --git a/implement/alternate-ui/source/src/CompilationInterface/ElmMake.elm b/implement/alternate-ui/source/src/CompilationInterface/ElmMake.elm index e97ffa7..445b692 100644 --- a/implement/alternate-ui/source/src/CompilationInterface/ElmMake.elm +++ b/implement/alternate-ui/source/src/CompilationInterface/ElmMake.elm @@ -4,8 +4,8 @@ module CompilationInterface.ElmMake exposing (..) -} -elm_make____src_Frontend_Main_elm : { debug : { gzip : { base64 : String } }, gzip : { base64 : String } } +elm_make____src_Frontend_Main_elm : { debug : { base64 : String }, base64 : String } elm_make____src_Frontend_Main_elm = - { gzip = { base64 = "The compiler replaces this declaration." } - , debug = { gzip = { base64 = "The compiler replaces this declaration." } } + { base64 = "The compiler replaces this declaration." + , debug = { base64 = "The compiler replaces this declaration." } }