Clone and edit this document
Runkit
Runkit
home page
user forum
new notebook
clone notebook
download notebook
support & documentation
log in
sign up
new notebook
help & feedback
clone this notebook
download this notebook
Sign In
Sign Up
Welcome
node v5.12.0
version:
2.0.0
endpoint
share
tweet
app = require('notebook')('tonic/express-endpoint/1.0.0')(module.exports) request = require('request') app.use('/', (req, res) => req.pipe( request(req.url.slice(1)) ).pipe(res) ) app.use(require('cors'))
Loading…
no comments
sign in
to comment