Skip to content

Commit

Permalink
Switch backend to new automatic HTTP response compression
Browse files Browse the repository at this point in the history
  • Loading branch information
Viir committed Jun 21, 2023
1 parent 6e77e72 commit dd6ca58
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions implement/alternate-ui/source/src/Backend/Main.elm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion implement/alternate-ui/source/src/Common/App.elm
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ module Common.App exposing (versionId)

versionId : String
versionId =
"2023-04-25"
"2023-06-21"
Original file line number Diff line number Diff line change
Expand Up @@ -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." }
}

0 comments on commit dd6ca58

Please sign in to comment.