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

let config = ./Config.dhall

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