@netlify/rules-proxy
This is a node middleware that works with express servers, connetct servers, etc, and implementes the full Netlify edge rules engine for your local dev environment.
Last updated a year ago by sw-yx .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @netlify/rules-proxy 
SYNC missed versions from official npm registry.

Netlify Rules Proxy

This is a node middleware that works with express servers, connetct servers, etc, and implementes the full Netlify edge rules engine for your local dev environment.

Usage

const rulesProxy = require("netlify-rules-proxy");

app.use(rulesProxy({ publicFolder: "./dist" }));

Full options:

  • publicFolder this defines the public folder the _redirects file gets written to
  • jwtSecret secret for verifying JWT tokens if using role based rules
  • jwtRolePath path when looking up a role in the claims of a JWT

Current Tags

  • 0.1.4                                ...           latest (a year ago)

5 Versions

  • 0.1.4                                ...           a year ago
  • 0.1.3                                ...           a year ago
  • 0.1.2                                ...           a year ago
  • 0.1.1                                ...           a year ago
  • 0.1.0                                ...           a year ago
Downloads
Today 0
This Week 6
This Month 7
Last Day 0
Last Week 6
Last Month 20
Dependencies (6)
Dev Dependencies (5)

Copyright 2014 - 2017 © taobao.org |