schema: add HTTP attrs RateLimit, Gzip

This commit is contained in:
leo 2023-05-15 13:54:25 +02:00
parent bd1223a731
commit 0e5761216a
Signed by: wanderer
SSH Key Fingerprint: SHA256:Dp8+iwKHSlrMEHzE3bJnPng70I7LEsa3IJXRH/U+idQ
3 changed files with 7 additions and 3 deletions

@ -1,10 +1,10 @@
{ Schema = { Schema =
./schema.dhall ./schema.dhall
sha256:2e7490953649881f93eec24109ef7a93738ab8fab8ccf40c33260af7faf413a5 sha256:c46a2374d9fe7dcbac47491efdffd5ad7972b8941bf3fe3c8bb3c573acbb44c2
? ./schema.dhall ? ./schema.dhall
, Schema/validate = , Schema/validate =
./validate.dhall ./validate.dhall
sha256:8d309832e89fab8babec5b1fef692f1bd6db5974befe8c4fbdbaac6b4e9c1619 sha256:26227bc39927b56ad15c87fb8dfe58241104ed3d9c66d3b31ae4d954bbd8f9d3
? ./validate.dhall ? ./validate.dhall
, Schema/version = , Schema/version =
./version.dhall ./version.dhall

@ -11,6 +11,8 @@ let Schema =
, TLSCertKeyPath : Text , TLSCertKeyPath : Text
, HSTSMaxAge : Natural , HSTSMaxAge : Natural
, ContentSecurityPolicy : Text , ContentSecurityPolicy : Text
, RateLimit : Natural
, Gzip : Natural
} }
, AppName : Text , AppName : Text
, LiveMode : Bool , LiveMode : Bool
@ -37,6 +39,8 @@ let Schema =
, TLSCertKeyPath = "" , TLSCertKeyPath = ""
, HSTSMaxAge = 0 , HSTSMaxAge = 0
, ContentSecurityPolicy = "" , ContentSecurityPolicy = ""
, RateLimit = 0
, Gzip = 0
} }
, AppName = "pcmt" , AppName = "pcmt"
, LiveMode = False , LiveMode = False

@ -5,7 +5,7 @@ let Prelude =
let Schema = let Schema =
./schema.dhall ./schema.dhall
sha256:2e7490953649881f93eec24109ef7a93738ab8fab8ccf40c33260af7faf413a5 sha256:c46a2374d9fe7dcbac47491efdffd5ad7972b8941bf3fe3c8bb3c573acbb44c2
? ./schema.dhall ? ./schema.dhall
let Schema/validate let Schema/validate