schema: add AppPath attr
This commit is contained in:
parent
0ab0975ad5
commit
4ab5599784
@ -1,10 +1,10 @@
|
||||
{ Schema =
|
||||
./schema.dhall
|
||||
sha256:9158ba3afb08016d332df7e3c90a2578f0aaaa71744e1230301a60e97734f52d
|
||||
sha256:3f615a66aa32fc6c61a7ecfa42b809efcd42acbccf55ed7b0067bd11636debb2
|
||||
? ./schema.dhall
|
||||
, Schema/validate =
|
||||
./validate.dhall
|
||||
sha256:4be4456e23d9077cb43960293bbc44f2482273bf634865e0d739dbd0f8e6c8a1
|
||||
sha256:b549161c382eab83cc2c0063bd0ac0472b51b78687e4aa36f686244cf4a0a1b1
|
||||
? ./validate.dhall
|
||||
, Schema/version =
|
||||
./version.dhall
|
||||
|
@ -32,6 +32,7 @@ let Schema =
|
||||
}
|
||||
, LiveMode : Bool
|
||||
, DevelMode : Bool
|
||||
, AppPath : Text
|
||||
, Session :
|
||||
{ CookieName : Text
|
||||
, CookieAuthSecret : Text
|
||||
@ -73,6 +74,10 @@ let Schema =
|
||||
-- | in its bundled Embed.FS.
|
||||
False
|
||||
, DevelMode = False
|
||||
, AppPath =
|
||||
-- | AppPath specifies where the program looks for "assets" and
|
||||
-- | "templates" in case LiveMode is True.
|
||||
"."
|
||||
, Session =
|
||||
{ CookieName = "pcmt_session"
|
||||
, CookieAuthSecret = ""
|
||||
|
@ -5,7 +5,7 @@ let Prelude =
|
||||
|
||||
let Schema =
|
||||
./schema.dhall
|
||||
sha256:9158ba3afb08016d332df7e3c90a2578f0aaaa71744e1230301a60e97734f52d
|
||||
sha256:3f615a66aa32fc6c61a7ecfa42b809efcd42acbccf55ed7b0067bd11636debb2
|
||||
? ./schema.dhall
|
||||
|
||||
let Schema/validate
|
||||
|
Loading…
Reference in New Issue
Block a user