DPDK Architecture  ->  Bootstrap (v3.0.5)

Geo-IP
>= v1.14.0

Simple geo-ip middleware for Express

Features

  • Includes the default function with configuration from the application config

Bootstrap

Config

No config implemented

Implementation

const geoip = require('./middleware/geoip');

this.server.use(geoip(this.config.geoip));

Usage

Config

{
  "geoip": {
    "enabled": false,
    "debug": false,
    "statusCode": 307,
    "fallback": "/en-en",
    "routing": {
      "nl": "/nl-nl"
    }
  }
}

Links

No links available

Last modifiedFriday, April 30, 2021, 12:00:21 PM UTC
Last authorColin van Eenige
Commit ID4c7a701