mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-11-24 06:54:03 +03:00
Fix test.
This commit is contained in:
parent
d08d0e7ff0
commit
af55887d72
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user