aboutsummaryrefslogtreecommitdiffhomepage
path: root/dhall/server/service/plugin/mkIPRestriction.dhall
blob: f8037696d1c463bd374adea7893b755b3445347b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
    let Plugin = ./Plugin.dhall

in  let config = constructors ./Config.dhall

in    λ(whiteList : Text)
    →   { name =
            "ip-restriction"
        , config =
            config.IPRestriction { whitelist = whiteList }
        }
      : Plugin