From 245b909ab675e8cefbbc323daf19ac87bd329d12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20Sessing=C3=B8?= Date: Tue, 30 Mar 2021 20:48:37 +0200 Subject: [PATCH] Updated readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index df796aa..bfdd153 100644 --- a/README.md +++ b/README.md @@ -1378,7 +1378,7 @@ You can white- and blacklist access to IP's using the build in `IpRestrictAccess Create your own custom Middleware and extend the `IpRestrictAccess` class. The `IpRestrictAccess` class contains two properties `ipBlacklist` and `ipWhitelist` that can be added -to your middleware to change which IP's has blocked or allowed access. +to your middleware to change which IP's that have restricted access. You can use `*` to restrict access to a range of ips. @@ -1399,7 +1399,7 @@ class IpBlockerMiddleware extends IpRestrictAccess { } ``` -You can the middleware to multiple routes by adding your [middleware to a groups](#middleware). +You can add the middleware to multiple routes by adding your [middleware to a groups](#middleware). ## Url rewriting