GitXplorerGitXplorer
b

express-rewire

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
5ff8560ddb22353aadbecf7127e8b7bd10ee2bc8

Fixup request body with body parsers

committed 9 years ago
Unverified
cf78aec67b6444b2765da2609eacac6f8ae8ce17

Release 0.3.0

committed 9 years ago
Unverified
b21fe41d623dad6ebe172fe5b50c85bb5f29e34b

Fixup

committed 9 years ago
Unverified
5892d929db4894ab3cca6999fb24623575524454

No need to craft a request, just forward the existing one

committed 9 years ago
Unverified
c5779e0e9f6a6af5f2c6a748296ff95861595d7e

Release 0.2.0

committed 9 years ago
Unverified
122ecc323a3b254e8423553246755c1a69e65f5b

Request content should be forwarded

committed 9 years ago

README

The README file for this repository.

express-rewrite

var express = require('express')
var rewire = require('express-rewire')

app = express()
app.get('/test', function (req, res) {
  res.json({query: req.query})
})

app.use('/rewired', rewire('/test').middleware())