telize

High performance JSON IP and GeoIP REST API (IP Geolocation)
Log | Files | Refs | README | LICENSE

commit 2d4eff9b54de6a6093f34ae6ead10e06ba374bba
parent 5b8b7f9a490764058211ec0b3b892d51fc5ca4ed
Author: Frederic Cambus <fred@statdns.com>
Date:   Fri, 15 Nov 2019 23:10:06 +0100

Account for changes in Kore: replace 'static' and 'dynamic' directives with 'route'.

Diffstat:
Mconf/routes.conf | 16++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/conf/routes.conf b/conf/routes.conf @@ -1,11 +1,11 @@ -static /ip request_ip -static /jsonip request_json_ip -static /geoip request_location -static /geoip/ request_location -dynamic ^/geoip/[a-f0-9\:.]*$ request_location -static /location request_location -static /location/ request_location -dynamic ^/location/[a-f0-9\:.]*$ request_location +route /ip request_ip +route /jsonip request_json_ip +route /geoip request_location +route /geoip/ request_location +route ^/geoip/[a-f0-9\:.]*$ request_location +route /location request_location +route /location/ request_location +route ^/location/[a-f0-9\:.]*$ request_location restrict /ip get head restrict /jsonip get head