Fix test.

This commit is contained in:
Dillon Kearns 2021-04-22 11:33:06 -07:00
parent d08d0e7ff0
commit af55887d72

View File

@ -819,7 +819,7 @@ startLowLevel generateFiles documentBodyResult staticHttpCache pages =
{ toJsPort = toJsPort
, fromJsPort = fromJsPort
, generateFiles = generateFiles
, init = \_ _ _ -> ( (), Cmd.none )
, init = \_ _ _ _ -> ( (), Cmd.none )
, getStaticRoutes =
--StaticHttp.get (Secrets.succeed "https://my-cms.com/posts")
-- (Decode.field "posts" (Decode.list (Decode.string |> Decode.map Route)))
@ -830,7 +830,7 @@ startLowLevel generateFiles documentBodyResult staticHttpCache pages =
|> DataSource.succeed
, handleRoute = \_ -> DataSource.succeed True
, urlToRoute = .path >> Route
, update = \_ _ _ _ -> ( (), Cmd.none )
, update = \_ _ _ _ _ -> ( (), Cmd.none )
, staticData =
\(Route pageRoute) ->
let