mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-12-26 05:13:24 +03:00
Fix test.
This commit is contained in:
parent
f10d1c7a0c
commit
6d6640d5f4
2
examples/base-path/package-lock.json
generated
2
examples/base-path/package-lock.json
generated
@ -17,7 +17,7 @@
|
||||
},
|
||||
"../..": {
|
||||
"name": "elm-pages",
|
||||
"version": "3.0.0-beta.7",
|
||||
"version": "3.0.0-beta.8",
|
||||
"integrity": "sha512-VeCbtSNH5CW2G5m/uJcTYSRIQ2Y6bhYTZtRbNftKUBXn/oIMYrB6sqrUqV+WVTBs2hedCQQYZnaeZ/uWxqcIwQ==",
|
||||
"dev": true,
|
||||
"license": "BSD-3-Clause",
|
||||
|
2
examples/escaping/package-lock.json
generated
2
examples/escaping/package-lock.json
generated
@ -15,7 +15,7 @@
|
||||
},
|
||||
"../..": {
|
||||
"name": "elm-pages",
|
||||
"version": "3.0.0-beta.7",
|
||||
"version": "3.0.0-beta.8",
|
||||
"dev": true,
|
||||
"license": "BSD-3-Clause",
|
||||
"dependencies": {
|
||||
|
2
examples/routing/package-lock.json
generated
2
examples/routing/package-lock.json
generated
@ -17,7 +17,7 @@
|
||||
},
|
||||
"../..": {
|
||||
"name": "elm-pages",
|
||||
"version": "3.0.0-beta.7",
|
||||
"version": "3.0.0-beta.8",
|
||||
"dev": true,
|
||||
"license": "BSD-3-Clause",
|
||||
"dependencies": {
|
||||
|
@ -1,8 +1,8 @@
|
||||
module Pages.Internal.Platform.Cli exposing (Flags, Model, Msg(..), Program, cliApplication, init, requestDecoder, update)
|
||||
module Pages.Internal.Platform.Cli exposing (Flags, Model, Msg(..), Program, cliApplication, init, requestDecoder, update, currentCompatibilityKey)
|
||||
|
||||
{-| Exposed for internal use only (used in generated code).
|
||||
|
||||
@docs Flags, Model, Msg, Program, cliApplication, init, requestDecoder, update
|
||||
@docs Flags, Model, Msg, Program, cliApplication, init, requestDecoder, update, currentCompatibilityKey
|
||||
|
||||
-}
|
||||
|
||||
|
@ -435,6 +435,7 @@ startLowLevel apiRoutes staticHttpCache pages =
|
||||
)
|
||||
, ( "mode", Encode.string "prod" )
|
||||
, ( "staticHttpCache", encodedStaticHttpCache )
|
||||
, ( "compatibilityKey", Encode.int Pages.Internal.Platform.Cli.currentCompatibilityKey )
|
||||
]
|
||||
|
||||
encodedStaticHttpCache : Encode.Value
|
||||
@ -590,6 +591,7 @@ startWithRoutes pageToLoad _ staticHttpCache pages =
|
||||
)
|
||||
, ( "staticHttpCache", encodedStaticHttpCache )
|
||||
, ( "mode", Encode.string "dev-server" )
|
||||
, ( "compatibilityKey", Encode.int Pages.Internal.Platform.Cli.currentCompatibilityKey )
|
||||
]
|
||||
|
||||
encodedStaticHttpCache : Encode.Value
|
||||
|
Loading…
Reference in New Issue
Block a user